aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/ThemeNew.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp
index 3e4496d158..56b0fc9ea9 100644
--- a/gui/ThemeNew.cpp
+++ b/gui/ThemeNew.cpp
@@ -300,7 +300,9 @@ void ThemeNew::drawDialogBackground(const Common::Rect &r, uint16 hints, kState
void ThemeNew::drawText(const Common::Rect &r, const Common::String &str, kState state, kTextAlign align, bool inverted, int deltax, bool useEllipsis) {
if (!_initOk)
return;
- Common::Rect r2(r.left, r.top, r.right, r.top+_font->getFontHeight()+2);
+ // FIXME:since the 'height' of the font seems not to be correct we just add 4 to it right now
+ // that should fix redraw bugs with the about dialog
+ Common::Rect r2(r.left, r.top, r.right, r.top+_font->getFontHeight()+4);
restoreBackground(r2);