mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +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
|
@ -150,7 +150,7 @@ GUI::Widget* LineTool::get_properties_widget()
|
|||
mode_label.set_text_alignment(Gfx::TextAlignment::CenterLeft);
|
||||
mode_label.set_fixed_size(80, 20);
|
||||
|
||||
auto& aa_enable_checkbox = mode_container.add<GUI::CheckBox>("Anti-alias");
|
||||
auto& aa_enable_checkbox = mode_container.add<GUI::CheckBox>(String::from_utf8("Anti-alias"sv).release_value_but_fixme_should_propagate_errors());
|
||||
aa_enable_checkbox.on_checked = [&](bool checked) {
|
||||
m_antialias_enabled = checked;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue