mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:17:36 +00:00
Userland: Set Button text using the new String class
This commit is contained in:
parent
b5cb9a9ebb
commit
e39adc4772
49 changed files with 134 additions and 127 deletions
|
@ -46,8 +46,8 @@ RoundingDialog::RoundingDialog(GUI::Window* parent_window, StringView title)
|
|||
|
||||
m_rounding_spinbox = GUI::SpinBox::construct();
|
||||
m_buttons_container = GUI::Widget::construct();
|
||||
m_ok_button = GUI::DialogButton::construct("OK");
|
||||
m_cancel_button = GUI::DialogButton::construct("Cancel");
|
||||
m_ok_button = GUI::DialogButton::construct(String::from_utf8_short_string("OK"sv));
|
||||
m_cancel_button = GUI::DialogButton::construct(String::from_utf8_short_string("Cancel"sv));
|
||||
|
||||
main_widget->add_child(*m_rounding_spinbox);
|
||||
main_widget->add_child(*m_buttons_container);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue