mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:07:45 +00:00
GameOfLife: Add some margin to the toolbar layout
Ideally the inner widgets / vertical separators would have some as well, but I'm not sure how right now. One step at a time. :^)
This commit is contained in:
parent
f89eb0e4ce
commit
030360c787
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ int main(int argc, char** argv)
|
|||
main_widget.set_fill_with_background_color(true);
|
||||
|
||||
auto& main_toolbar = *main_widget.find_descendant_of_type_named<GUI::Toolbar>("toolbar");
|
||||
main_toolbar.layout()->set_margins({ 6, 0, 6, 0 });
|
||||
|
||||
auto& board_widget_container = *main_widget.find_descendant_of_type_named<GUI::Widget>("board_widget_container");
|
||||
auto& board_layout = board_widget_container.set_layout<GUI::VerticalBoxLayout>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue