mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 15:45:06 +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
|
@ -60,7 +60,7 @@ int main(int argc, char** argv)
|
|||
auto widget = GWidget::construct();
|
||||
window->set_main_widget(widget);
|
||||
widget->set_fill_with_background_color(true);
|
||||
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
widget->set_layout(make<GVBoxLayout>());
|
||||
|
||||
auto board_combo = GComboBox::construct(widget);
|
||||
board_combo->set_only_allow_values_from_model(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue