diff options
Diffstat (limited to 'gui/ListWidget.cpp')
-rw-r--r-- | gui/ListWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp index 4d4c42bb72..4216d67a60 100644 --- a/gui/ListWidget.cpp +++ b/gui/ListWidget.cpp @@ -41,7 +41,7 @@ ListWidget::ListWidget(Dialog *boss, int x, int y, int w, int h) - : Widget(boss, x, y, w - SCROLLBAR_WIDTH, h) + : Widget(boss, x, y, w - kScrollBarWidth, h) { _flags = WIDGET_ENABLED | WIDGET_CLEARBG; _type = kListWidget; @@ -49,7 +49,7 @@ ListWidget::ListWidget(Dialog *boss, int x, int y, int w, int h) _entriesPerPage = (_h - 4) / LINE_HEIGHT; _currentPos = 3; - _scrollBar = new ScrollBarWidget(boss, _x + _w, _y, SCROLLBAR_WIDTH, _h); + _scrollBar = new ScrollBarWidget(boss, _x + _w, _y, kScrollBarWidth, _h); _scrollBar->setTarget(this); // FIXME - fill in dummy data for now |