summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-23 20:01:32 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-23 20:01:55 +0200
commit933cf365e8ade0c9221d9bcb56e07ae15d802195 (patch)
treed4fa1e0db6fca26e21b968d541d81f0cec7e9fff /Libraries
parent5fc02c6f1d1b330e67009609b7806153697499bb (diff)
downloadserenity-933cf365e8ade0c9221d9bcb56e07ae15d802195.zip
LibGUI: Tweak default ScrollBar size to make arrow icons centered :^)
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibGUI/ScrollBar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/ScrollBar.cpp b/Libraries/LibGUI/ScrollBar.cpp
index 6fa0c86926..f29308b969 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_preferred_size(15, 0);
+ set_preferred_size(16, 0);
} else {
- set_preferred_size(0, 15);
+ set_preferred_size(0, 16);
}
m_automatic_scrolling_timer->set_interval(100);