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 /Demos | |
parent | dccf335d5b1aa06e44f9262c95b176c42ba2cf1e (diff) | |
download | serenity-799b0a4fa8cc6eaa61845e62312d299ba9cd05c4.zip |
LibGUI: Rename {H,V}BoxLayout => {Horizontal,Vertical}BoxLayout
Diffstat (limited to 'Demos')
-rw-r--r-- | Demos/HelloWorld/main.cpp | 2 | ||||
-rw-r--r-- | Demos/WidgetGallery/main.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Demos/HelloWorld/main.cpp b/Demos/HelloWorld/main.cpp index 1e65f0d413..01ca63ba9a 100644 --- a/Demos/HelloWorld/main.cpp +++ b/Demos/HelloWorld/main.cpp @@ -43,7 +43,7 @@ int main(int argc, char** argv) window->set_main_widget(main_widget); main_widget->set_fill_with_background_color(true); main_widget->set_background_color(Color::White); - main_widget->set_layout(make<GUI::VBoxLayout>()); + main_widget->set_layout(make<GUI::VerticalBoxLayout>()); main_widget->layout()->set_margins({ 4, 4, 4, 4 }); auto label = GUI::Label::construct(main_widget); diff --git a/Demos/WidgetGallery/main.cpp b/Demos/WidgetGallery/main.cpp index a969df399f..3935274d2d 100644 --- a/Demos/WidgetGallery/main.cpp +++ b/Demos/WidgetGallery/main.cpp @@ -51,7 +51,7 @@ int main(int argc, char** argv) auto main_widget = GUI::Widget::construct(); window->set_main_widget(main_widget); main_widget->set_fill_with_background_color(true); - main_widget->set_layout(make<GUI::VBoxLayout>()); + main_widget->set_layout(make<GUI::VerticalBoxLayout>()); main_widget->layout()->set_margins({ 4, 4, 4, 4 }); auto checkbox1 = GUI::CheckBox::construct("GCheckBox 1", main_widget); @@ -95,7 +95,7 @@ int main(int argc, char** argv) auto vertical_slider_container = GUI::Widget::construct(main_widget.ptr()); vertical_slider_container->set_size_policy(GUI::SizePolicy::Fill, GUI::SizePolicy::Fixed); vertical_slider_container->set_preferred_size(0, 100); - vertical_slider_container->set_layout(make<GUI::HBoxLayout>()); + vertical_slider_container->set_layout(make<GUI::HorizontalBoxLayout>()); auto vslider1 = GUI::VerticalSlider::construct(vertical_slider_container); (void)vslider1; auto vslider2 = GUI::VerticalSlider::construct(vertical_slider_container); |