mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +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
|
@ -65,7 +65,7 @@ ShutdownDialog::ShutdownDialog()
|
|||
auto& right_container = content_container.add<GUI::Widget>();
|
||||
right_container.set_layout<GUI::VerticalBoxLayout>(GUI::Margins { 12, 12, 8, 0 });
|
||||
|
||||
auto& label = right_container.add<GUI::Label>("What would you like to do?");
|
||||
auto& label = right_container.add<GUI::Label>("What would you like to do?"_string.release_value_but_fixme_should_propagate_errors());
|
||||
label.set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
label.set_fixed_height(22);
|
||||
label.set_font(Gfx::FontDatabase::default_font().bold_variant());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue