From d1fc6e3fdd06eb41986cc5bcf596984d43297876 Mon Sep 17 00:00:00 2001 From: Jakub <106778416+MarekZegare4@users.noreply.github.com> Date: Thu, 15 Oct 2026 12:53:22 +0200 Subject: [PATCH] fix(l2): Messages - "Read all" an icon, the title squeezed to "Me..." beside it Co-Authored-By: Claude Opus 5.5 --- examples/companion_radio/ui-lvgl/ChatList.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/companion_radio/ui-lvgl/ChatList.h b/examples/companion_radio/ui-lvgl/ChatList.h index 4ec25a7e..49439e4d 100644 --- a/examples/companion_radio/ui-lvgl/ChatList.h +++ b/examples/companion_radio/ui-lvgl/ChatList.h @@ -172,7 +172,8 @@ void UITask::buildChats() { lv_obj_t* body = newScreen("Messages", true); s_chats_read_all = unreadTotal() > 0; if (_header) { // a new message last, at the edge, whatever the lists below hold - if (s_chats_read_all) headerButton(_header, LV_SYMBOL_OK " Read all", onMarkAllRead, 0, NULL); + // Icons alone: with "Read all" spelled out the title was squeezed to "Me..." + if (s_chats_read_all) headerButton(_header, LV_SYMBOL_OK, onMarkAllRead, 0, NULL); stylePrimary(headerButton(_header, LV_SYMBOL_EDIT, onNewChat, 0, NULL)); // the pencil alone: the title fits } vlist::attach(body);