mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibGUI: Tweak default ScrollBar size to make arrow icons centered :^)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user