mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 18:37:01 +00:00
GUI: Fix ScrollContainerWidget look a bit
This commit is contained in:
parent
cccf6eed78
commit
9c1eab6415
@ -53,8 +53,8 @@ void ScrollContainerWidget::recalc() {
|
||||
_verticalScroll->_numEntries = _h + 40;
|
||||
_verticalScroll->_currentPos = _scrolledY;
|
||||
_verticalScroll->_entriesPerPage = _limitH;
|
||||
_verticalScroll->setPos(_w - 16, _scrolledY);
|
||||
_verticalScroll->setSize(16, _limitH);
|
||||
_verticalScroll->setPos(_w - 16, _scrolledY+1);
|
||||
_verticalScroll->setSize(16, _limitH -2);
|
||||
}
|
||||
|
||||
|
||||
@ -104,7 +104,7 @@ void ScrollContainerWidget::reflowLayout() {
|
||||
}
|
||||
|
||||
void ScrollContainerWidget::drawWidget() {
|
||||
g_gui.theme()->drawDialogBackground(Common::Rect(_x, _y, _x + _w, _y + getHeight()), ThemeEngine::kDialogBackgroundDefault);
|
||||
g_gui.theme()->drawDialogBackground(Common::Rect(_x, _y, _x + _w, _y + getHeight() - 1), ThemeEngine::kDialogBackgroundDefault);
|
||||
}
|
||||
|
||||
Widget *ScrollContainerWidget::findWidget(int x, int y) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user