diff options
author | Alexander Tkachev | 2019-07-31 15:19:36 +0700 |
---|---|---|
committer | Matan Bareket | 2019-08-03 04:35:48 -0400 |
commit | c47b204ac35d0bdcccef65afcfe466959a458f21 (patch) | |
tree | d4c65aeebd1d80e71d4c4a6704803d292a2ddf18 /gui/widgets | |
parent | 9ba3cd594d8e365cf53c1c375401de3cc0e826e0 (diff) | |
download | scummvm-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.cpp | 2 |
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); } |