diff options
author | Johannes Schickel | 2007-12-24 03:01:21 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-12-24 03:01:21 +0000 |
commit | 68eb28a6f6a2fdd0e2b05cbdc29ff346820b8ef6 (patch) | |
tree | 60500c6799e424c0180b2571620c8e7552075f9a | |
parent | 35b1521e68d738fa01ccfe7b452638c2b8c55579 (diff) | |
download | scummvm-rg350-68eb28a6f6a2fdd0e2b05cbdc29ff346820b8ef6.tar.gz scummvm-rg350-68eb28a6f6a2fdd0e2b05cbdc29ff346820b8ef6.tar.bz2 scummvm-rg350-68eb28a6f6a2fdd0e2b05cbdc29ff346820b8ef6.zip |
Fix for bug #1670082 "GUI: Modern theme gfx glitch in launcher".
svn-id: r29971
-rw-r--r-- | gui/ListWidget.cpp | 4 | ||||
-rw-r--r-- | gui/themes/modern.ini | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp index 539a2efa78..7781cf78c9 100644 --- a/gui/ListWidget.cpp +++ b/gui/ListWidget.cpp @@ -41,7 +41,7 @@ ListWidget::ListWidget(GuiObject *boss, const String &name) // This ensures that _entriesPerPage is properly initialised. reflowLayout(); - _scrollBar = new ScrollBarWidget(this, _w - _scrollBarWidth, 0, _scrollBarWidth, _h); + _scrollBar = new ScrollBarWidget(this, _w - _scrollBarWidth + 1, 0, _scrollBarWidth, _h); _scrollBar->setTarget(this); setFlags(WIDGET_ENABLED | WIDGET_CLEARBG | WIDGET_RETAIN_FOCUS | WIDGET_WANT_TICKLE); @@ -472,7 +472,7 @@ void ListWidget::reflowLayout() { _textWidth[i] = 0; if (_scrollBar) { - _scrollBar->resize(_w - _scrollBarWidth, 0, _scrollBarWidth, _h); + _scrollBar->resize(_w - _scrollBarWidth + 1, 0, _scrollBarWidth, _h); scrollBarRecalc(); scrollToCurrent(); } diff --git a/gui/themes/modern.ini b/gui/themes/modern.ini index adf4dfc91a..b5929511b0 100644 --- a/gui/themes/modern.ini +++ b/gui/themes/modern.ini @@ -576,6 +576,7 @@ use=pixmaps use=colors use=gradients use=extra +shadow_right_width=1 pix_checkbox_empty="checkbox_empty320.bmp" pix_checkbox_checked="checkbox_checked320.bmp" pix_cursor_image="cursor320.bmp" |