mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
update layout macro invocations
This commit is contained in:
parent
e677d1d7d4
commit
83eb9dd2fa
19 changed files with 153 additions and 169 deletions
|
|
@ -8,13 +8,13 @@ pub struct PhraseSelector {
|
|||
}
|
||||
|
||||
// TODO: Display phrases always in order of appearance
|
||||
render!(Tui: (self: PhraseSelector) => Fixed::xy(24, 1, row!([
|
||||
render!(Tui: (self: PhraseSelector) => Fixed::xy(24, 1, row!(
|
||||
Tui::fg(self.color.lightest.rgb, Tui::bold(true, &self.title)),
|
||||
Tui::fg_bg(self.color.lighter.rgb, self.color.base.rgb, row!([
|
||||
Tui::fg_bg(self.color.lighter.rgb, self.color.base.rgb, row!(
|
||||
format!("{:8}", &self.name[0..8.min(self.name.len())]),
|
||||
Tui::bg(self.color.dark.rgb, &self.time),
|
||||
])),
|
||||
])));
|
||||
)),
|
||||
)));
|
||||
|
||||
impl PhraseSelector {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue