diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 14:44:13 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 14:44:13 +0100 |
commit | 799b0a4fa8cc6eaa61845e62312d299ba9cd05c4 (patch) | |
tree | bc6752215c131027028751a1aff9ede15996fa53 /Applications/Welcome | |
parent | dccf335d5b1aa06e44f9262c95b176c42ba2cf1e (diff) | |
download | serenity-799b0a4fa8cc6eaa61845e62312d299ba9cd05c4.zip |
LibGUI: Rename {H,V}BoxLayout => {Horizontal,Vertical}BoxLayout
Diffstat (limited to 'Applications/Welcome')
-rw-r--r-- | Applications/Welcome/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Applications/Welcome/main.cpp b/Applications/Welcome/main.cpp index 1444e42208..e11e7732c6 100644 --- a/Applications/Welcome/main.cpp +++ b/Applications/Welcome/main.cpp @@ -98,7 +98,7 @@ int main(int argc, char** argv) auto background = GUI::Label::construct(); window->set_main_widget(background); background->set_fill_with_background_color(true); - background->set_layout(make<GUI::VBoxLayout>()); + background->set_layout(make<GUI::VerticalBoxLayout>()); background->layout()->set_margins({ 8, 8, 8, 8 }); background->layout()->set_spacing(8); background->set_icon(Gfx::load_png_from_memory((const u8*)&_binary_background_png_start, (size_t)&_binary_background_png_size)); @@ -121,13 +121,13 @@ int main(int argc, char** argv) // auto main_section = GUI::Widget::construct(background.ptr()); - main_section->set_layout(make<GUI::HBoxLayout>()); + main_section->set_layout(make<GUI::HorizontalBoxLayout>()); main_section->layout()->set_margins({ 0, 0, 0, 0 }); main_section->layout()->set_spacing(8); main_section->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fill); auto menu = GUI::Widget::construct(main_section.ptr()); - menu->set_layout(make<GUI::VBoxLayout>()); + menu->set_layout(make<GUI::VerticalBoxLayout>()); menu->layout()->set_margins({ 0, 0, 0, 0 }); menu->layout()->set_spacing(8); menu->set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fill); @@ -138,7 +138,7 @@ int main(int argc, char** argv) for (auto& page : pages) { auto content = GUI::Widget::construct(stack.ptr()); - content->set_layout(make<GUI::VBoxLayout>()); + content->set_layout(make<GUI::VerticalBoxLayout>()); content->layout()->set_margins({ 0, 0, 0, 0 }); content->layout()->set_spacing(8); content->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fill); |