mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:48:11 +00:00
LibGUI+Userland: Port Labels to String
This commit is contained in:
parent
3d53dc8228
commit
91bafc2653
92 changed files with 240 additions and 242 deletions
|
@ -27,7 +27,7 @@ SettingsDialog::SettingsDialog(GUI::Window* parent, DeprecatedString player_name
|
|||
auto& name_box = main_widget->add<GUI::Widget>();
|
||||
name_box.set_layout<GUI::HorizontalBoxLayout>(GUI::Margins {}, 4);
|
||||
|
||||
auto& name_label = name_box.add<GUI::Label>("Name:");
|
||||
auto& name_label = name_box.add<GUI::Label>("Name:"_short_string);
|
||||
name_label.set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
|
||||
auto& textbox = name_box.add<GUI::TextBox>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue