mirror of
https://github.com/scummvm/scummvm.git
synced 2026-05-21 05:40:43 +00:00
Fix for bug #1670082 "GUI: Modern theme gfx glitch in launcher".
svn-id: r29971
This commit is contained in:
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user