diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/Button.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/Button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/Button.cpp b/Userland/Libraries/LibGUI/Button.cpp index 2175f9a21e..107eaccbe5 100644 --- a/Userland/Libraries/LibGUI/Button.cpp +++ b/Userland/Libraries/LibGUI/Button.cpp @@ -85,7 +85,7 @@ void Button::paint_event(PaintEvent& event) if (text_rect.width() > content_rect.width()) text_rect.set_width(content_rect.width()); text_rect.align_within(content_rect, text_alignment()); - paint_text(painter, text_rect, font, text_alignment(), Gfx::TextWrapping::DontWrap); + paint_text(painter, text_rect, font, text_alignment()); if (is_focused()) { Gfx::IntRect focus_rect; |