mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
Userland: Set tab-widget properties in GML instead of code
This commit is contained in:
parent
24a8a260c0
commit
84b98da259
6 changed files with 6 additions and 7 deletions
|
@ -34,7 +34,6 @@ GalleryWidget::GalleryWidget()
|
|||
load_from_gml(window_gml);
|
||||
|
||||
auto& tab_widget = *find_descendant_of_type_named<GUI::TabWidget>("tab_widget");
|
||||
tab_widget.set_reorder_allowed(true);
|
||||
|
||||
auto basics_tab = tab_widget.try_add_tab<GUI::Widget>("Basics").release_value_but_fixme_should_propagate_errors();
|
||||
basics_tab->load_from_gml(basics_tab_gml);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue