From aa615db3a79f0d91bb747b2acbc82e117ee641b6 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 24 Dec 2024 04:49:51 -0500 Subject: [PATCH] Tweak ellipsizing of Browser choice buttons again. --- src/app/Browser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/Browser.cpp b/src/app/Browser.cpp index 42e8b1b7..bfa71323 100644 --- a/src/app/Browser.cpp +++ b/src/app/Browser.cpp @@ -438,7 +438,7 @@ struct SortButton : ui::ChoiceButton { void step() override { text = string::translate("Browser.sort"); text += getSortNames()[settings::browserSort]; - text = string::ellipsize(text, 23); + text = string::ellipsize(text, 20); ChoiceButton::step(); } }; @@ -931,7 +931,7 @@ inline void BrandButton::step() { text += ": "; text += browser->brand; } - text = string::ellipsize(text, 23); + text = string::ellipsize(text, 20); ChoiceButton::step(); } @@ -1017,7 +1017,7 @@ inline void TagButton::step() { firstTag = false; } } - text = string::ellipsize(text, 23); + text = string::ellipsize(text, 20); ChoiceButton::step(); }