aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets
diff options
context:
space:
mode:
authorAlexander Tkachev2019-07-31 15:19:36 +0700
committerMatan Bareket2019-08-03 04:35:48 -0400
commitc47b204ac35d0bdcccef65afcfe466959a458f21 (patch)
treed4c65aeebd1d80e71d4c4a6704803d292a2ddf18 /gui/widgets
parent9ba3cd594d8e365cf53c1c375401de3cc0e826e0 (diff)
downloadscummvm-rg350-c47b204ac35d0bdcccef65afcfe466959a458f21.tar.gz
scummvm-rg350-c47b204ac35d0bdcccef65afcfe466959a458f21.tar.bz2
scummvm-rg350-c47b204ac35d0bdcccef65afcfe466959a458f21.zip
GUI: Minor offsets fixes in Tooltip and EditTextWidget
Diffstat (limited to 'gui/widgets')
-rw-r--r--gui/widgets/edittext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widgets/edittext.cpp b/gui/widgets/edittext.cpp
index b73cb99ced..e2dcd2be3e 100644
--- a/gui/widgets/edittext.cpp
+++ b/gui/widgets/edittext.cpp
@@ -100,7 +100,7 @@ void EditTextWidget::drawWidget() {
setTextDrawableArea(r);
g_gui.theme()->drawText(
- Common::Rect(_x + 2 + _leftPadding, _y + 2, _x + _leftPadding + getEditRect().width() + 2, _y + _h),
+ Common::Rect(_x + 2 + _leftPadding, _y + 1, _x + _leftPadding + getEditRect().width() + 2, _y + _h),
_editString, _state, Graphics::kTextAlignLeft, ThemeEngine::kTextInversionNone,
-_editScrollOffset, false, _font, ThemeEngine::kFontColorNormal, true, _textDrawableArea);
}