Browse Source

Tweak ellipsizing of Browser choice buttons again.

tags/v2.6.1
Andrew Belt 4 months ago
parent
commit
aa615db3a7
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/app/Browser.cpp

+ 3
- 3
src/app/Browser.cpp View File

@@ -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();
}



Loading…
Cancel
Save