diff options
author | Andreas Kling <kling@serenityos.org> | 2020-12-30 01:55:25 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-30 01:55:25 +0100 |
commit | 675bfb934bcd5a00999a566bb4a080184912c0e4 (patch) | |
tree | 64b2576a4884e3a197b4917fc72a4ec7ea0dcf87 | |
parent | 1cca2405fc43bda02c899e060519be1d65355c76 (diff) | |
download | serenity-675bfb934bcd5a00999a566bb4a080184912c0e4.zip |
LibGUI: Unbreak GUI::ScrollBar default size
Oops, got my width/height mixed up here. :^)
-rw-r--r-- | Libraries/LibGUI/ScrollBar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/ScrollBar.cpp b/Libraries/LibGUI/ScrollBar.cpp index 55447d1902..ab7198e1bc 100644 --- a/Libraries/LibGUI/ScrollBar.cpp +++ b/Libraries/LibGUI/ScrollBar.cpp @@ -100,9 +100,9 @@ ScrollBar::ScrollBar(Orientation orientation) s_right_arrow_bitmap = &Gfx::CharacterBitmap::create_from_ascii(s_right_arrow_bitmap_data, 9, 9).leak_ref(); if (m_orientation == Orientation::Vertical) { - set_fixed_height(16); - } else { set_fixed_width(16); + } else { + set_fixed_height(16); } m_automatic_scrolling_timer->set_interval(100); |