wip7 (57e):

This commit is contained in:
🪞👃🪞 2024-12-09 18:33:29 +01:00
parent 3b73da86e0
commit f0192bd8f4

View file

@ -43,8 +43,8 @@ render!(|self: PhraseListView<'a>|{
length.focus = Some(*focus);
}
}
let length = length.align_e().fill_x();
let row1 = lay!(format!(" {i}").align_w().fill_x(), length).fill_x();
let length = Tui::fill_x(Tui::at_e(length));
let row1 = Tui::fill_x(lay!(Tui::fill_x(Tui::at_w(format!(" {i}"))), length));
let mut row2 = format!(" {name}");
if let Some(PhrasesMode::Rename(phrase, _)) = mode {
if *focused && i == *phrase {