mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:07:34 +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
|
@ -205,7 +205,7 @@ void BookmarksBarWidget::model_did_update(unsigned)
|
|||
m_bookmarks.append(button);
|
||||
|
||||
button.set_button_style(Gfx::ButtonStyle::Coolbar);
|
||||
button.set_text_deprecated(title);
|
||||
button.set_text(String::from_deprecated_string(title).release_value_but_fixme_should_propagate_errors());
|
||||
button.set_icon(g_icon_bag.filetype_html);
|
||||
button.set_fixed_size(font().width(title) + 32, 20);
|
||||
button.set_relative_rect(rect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue