Browse Source

Tweak browser button and label widths to fit translations.

tags/v2.6.1
Andrew Belt 1 month ago
parent
commit
ff44a1f575
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/app/Browser.cpp

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

@@ -526,13 +526,13 @@ struct Browser : widget::OpaqueWidget {
headerLayout->addChild(favoriteButton); headerLayout->addChild(favoriteButton);


clearButton = new ClearButton; clearButton = new ClearButton;
clearButton->box.size.x = 100;
clearButton->box.size.x = 130;
clearButton->text = string::translate("Browser.resetFilters"); clearButton->text = string::translate("Browser.resetFilters");
clearButton->browser = this; clearButton->browser = this;
headerLayout->addChild(clearButton); headerLayout->addChild(clearButton);


countLabel = new ui::Label; countLabel = new ui::Label;
countLabel->box.size.x = 100;
countLabel->box.size.x = 110;
headerLayout->addChild(countLabel); headerLayout->addChild(countLabel);


SortButton* sortButton = new SortButton; SortButton* sortButton = new SortButton;


Loading…
Cancel
Save