mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 14:19:48 +00:00
Welcome: Reduce the width and margins of the menu
I think it looks better where it takes up less space.
This commit is contained in:
parent
d5617fc855
commit
f4958aea21
Notes:
sideshowbarker
2024-07-19 17:40:38 +09:00
Author: https://github.com/thatlittlegit
Commit: f4958aea21
Pull-request: https://github.com/SerenityOS/serenity/pull/1221
Reviewed-by: https://github.com/shannonbooth
1 changed files with 2 additions and 2 deletions
|
@ -193,9 +193,9 @@ int main(int argc, char** argv)
|
|||
auto menu = GUI::Widget::construct(main_section.ptr());
|
||||
menu->set_layout(make<GUI::VerticalBoxLayout>());
|
||||
menu->layout()->set_margins({ 0, 0, 0, 0 });
|
||||
menu->layout()->set_spacing(8);
|
||||
menu->layout()->set_spacing(4);
|
||||
menu->set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fill);
|
||||
menu->set_preferred_size(200, 0);
|
||||
menu->set_preferred_size(100, 0);
|
||||
|
||||
auto stack = GUI::StackWidget::construct(main_section);
|
||||
stack->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fill);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue