mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
fix header sizes; bold phrase name in list
This commit is contained in:
parent
0403d5b54f
commit
6de22691f2
2 changed files with 25 additions and 24 deletions
|
|
@ -31,6 +31,7 @@ impl Content for PhrasePool<Tui> {
|
|||
if let Some(PhrasePoolMode::Rename(phrase, _)) = mode {
|
||||
if *focused && i == *phrase { row2 = format!("{row2}▄"); }
|
||||
};
|
||||
let row2 = TuiStyle::bold(row2, true);
|
||||
let bg = if i == self.phrase { color } else { color };
|
||||
add(&col!(row1, row2).fill_x().bg(bg))?;
|
||||
if *focused && i == self.phrase { add(&CORNERS)?; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue