mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 05:27:35 +00:00
LibGUI: Add GHBoxLayout and GVBoxLayout convenience classes
This commit is contained in:
parent
63364f8a5d
commit
d67da8c101
50 changed files with 128 additions and 114 deletions
|
@ -91,7 +91,7 @@ int main(int argc, char** argv)
|
|||
window->set_rect({ left, top, width, heigth });
|
||||
|
||||
auto widget = GWidget::construct();
|
||||
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
widget->set_layout(make<GVBoxLayout>());
|
||||
widget->layout()->set_spacing(0);
|
||||
|
||||
auto main_toolbar = GToolBar::construct(widget);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue