diff options
author | Linus Groh <mail@linusgroh.de> | 2020-12-12 18:12:17 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-12 20:09:55 +0100 |
commit | af80d71abcd23f8d9af14c24e213c68a02ba1a9b (patch) | |
tree | 407f9ec85b4dc8f6404de19ad1f11b5e2c045527 /Applications | |
parent | dd198e1a297c73d92a9b02f1225f769895248720 (diff) | |
download | serenity-af80d71abcd23f8d9af14c24e213c68a02ba1a9b.zip |
Spreadsheet: Reduce top bar default height
50px is a bit extreme, it's down to 26px high now. Still a bit larger
than a regular GUI::TextBox but enough to look decent, even with the
help button in there.
Closes #3905.
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/Spreadsheet/SpreadsheetWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Spreadsheet/SpreadsheetWidget.cpp b/Applications/Spreadsheet/SpreadsheetWidget.cpp index c1f6d448a1..a079a73266 100644 --- a/Applications/Spreadsheet/SpreadsheetWidget.cpp +++ b/Applications/Spreadsheet/SpreadsheetWidget.cpp @@ -48,7 +48,7 @@ SpreadsheetWidget::SpreadsheetWidget(NonnullRefPtrVector<Sheet>&& sheets, bool s auto& top_bar = container.add<GUI::Frame>(); top_bar.set_layout<GUI::HorizontalBoxLayout>().set_spacing(1); - top_bar.set_preferred_size(0, 50); + top_bar.set_preferred_size(0, 26); top_bar.set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed); auto& current_cell_label = top_bar.add<GUI::Label>(""); current_cell_label.set_preferred_size(50, 0); |