diff --git a/crates/tek/src/tui/view_phrase_list.rs b/crates/tek/src/tui/view_phrase_list.rs index d213e642..bda7f5f5 100644 --- a/crates/tek/src/tui/view_phrase_list.rs +++ b/crates/tek/src/tui/view_phrase_list.rs @@ -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 {