1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 11:07:46 +00:00

Userland: Replace usages of AbstractButton::text_deprecated with text()

This commit is contained in:
Karol Kosek 2023-02-12 11:40:58 +01:00 committed by Linus Groh
parent fca29eae09
commit d32d4029d3
9 changed files with 25 additions and 25 deletions

View file

@ -393,5 +393,5 @@ void TaskbarWindow::workspace_change_event(unsigned current_row, unsigned curren
void TaskbarWindow::set_start_button_font(Gfx::Font const& font)
{
m_start_button->set_font(font);
m_start_button->set_fixed_size(font.width(m_start_button->text_deprecated()) + 30, 21);
m_start_button->set_fixed_size(font.width(m_start_button->text()) + 30, 21);
}