mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
LibGUI+Userland: Make TabWidget::*add_tab() take title using new string
This commit is contained in:
parent
5fed25ca9a
commit
797968c310
18 changed files with 59 additions and 59 deletions
|
@ -212,12 +212,12 @@ void ColorPicker::build_ui()
|
|||
|
||||
auto& tab_widget = root_container->add<GUI::TabWidget>();
|
||||
|
||||
auto& tab_palette = tab_widget.add_tab<Widget>("Palette");
|
||||
auto& tab_palette = tab_widget.add_tab<Widget>("Palette"_short_string);
|
||||
tab_palette.set_layout<VerticalBoxLayout>(4, 4);
|
||||
|
||||
build_ui_palette(tab_palette);
|
||||
|
||||
auto& tab_custom_color = tab_widget.add_tab<Widget>("Custom Color");
|
||||
auto& tab_custom_color = tab_widget.add_tab<Widget>("Custom Color"_string.release_value_but_fixme_should_propagate_errors());
|
||||
tab_custom_color.set_layout<VerticalBoxLayout>(4, 4);
|
||||
|
||||
build_ui_custom(tab_custom_color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue