mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:28:11 +00:00
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.
This commit is contained in:
parent
dd198e1a29
commit
af80d71abc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue