From b0aa9ab391143a8139373e42ea95ccb6ed14ce60 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 12 Sep 2023 14:43:28 +1000 Subject: Fix ui nits for playback screen The top bar now updates properly when starting playback, and the upcoming list items no longer marquee. --- src/ui/screen_playing.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/screen_playing.cpp') diff --git a/src/ui/screen_playing.cpp b/src/ui/screen_playing.cpp index 2eb4e09e..e0fff095 100644 --- a/src/ui/screen_playing.cpp +++ b/src/ui/screen_playing.cpp @@ -99,6 +99,7 @@ auto Playing::control_button(lv_obj_t* parent, char* icon) -> lv_obj_t* { auto Playing::next_up_label(lv_obj_t* parent, const std::string& text) -> lv_obj_t* { lv_obj_t* button = lv_list_add_btn(parent, NULL, text.c_str()); + lv_label_set_long_mode(lv_obj_get_child(button, -1), LV_LABEL_LONG_DOT); lv_obj_add_event_cb(button, below_fold_focus_cb, LV_EVENT_FOCUSED, this); lv_group_add_obj(group_, button); return button; -- cgit v1.2.3