diff options
Diffstat (limited to 'gui/console.cpp')
-rw-r--r-- | gui/console.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/console.cpp b/gui/console.cpp index 28e21d9628..de6f914644 100644 --- a/gui/console.cpp +++ b/gui/console.cpp @@ -112,8 +112,7 @@ void ConsoleDialog::init() { scrollBarWidth = kBigScrollBarWidth; else scrollBarWidth = kNormalScrollBarWidth; - _scrollBar->setPos(_w - scrollBarWidth - 1, 0); - _scrollBar->setSize(scrollBarWidth, _h); + _scrollBar->resize(_w - scrollBarWidth - 1, 0, scrollBarWidth, _h); _drawingHints = THEME_HINT_FIRST_DRAW | THEME_HINT_SAVE_BACKGROUND; |