mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:47:36 +00:00
LibGUI: Unbreak GUI::ScrollBar default size
Oops, got my width/height mixed up here. :^)
This commit is contained in:
parent
1cca2405fc
commit
675bfb934b
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
s_right_arrow_bitmap = &Gfx::CharacterBitmap::create_from_ascii(s_right_arrow_bitmap_data, 9, 9).leak_ref();
|
||||||
|
|
||||||
if (m_orientation == Orientation::Vertical) {
|
if (m_orientation == Orientation::Vertical) {
|
||||||
set_fixed_height(16);
|
|
||||||
} else {
|
|
||||||
set_fixed_width(16);
|
set_fixed_width(16);
|
||||||
|
} else {
|
||||||
|
set_fixed_height(16);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_automatic_scrolling_timer->set_interval(100);
|
m_automatic_scrolling_timer->set_interval(100);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue