diff options
author | Torbjörn Andersson | 2006-05-19 22:49:23 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-05-19 22:49:23 +0000 |
commit | 71d07416cd523ee33a395476829bdb011763e18f (patch) | |
tree | 79a357e1191247bb74ecab00d10d866136b63603 /gui | |
parent | ce749cd44cfab0f5a75cfdd8b96a14f5c3ea1b68 (diff) | |
download | scummvm-rg350-71d07416cd523ee33a395476829bdb011763e18f.tar.gz scummvm-rg350-71d07416cd523ee33a395476829bdb011763e18f.tar.bz2 scummvm-rg350-71d07416cd523ee33a395476829bdb011763e18f.zip |
Call the inherited handleScreenChanged() method, so that the widget can resize
itself on scaler changes.
svn-id: r22537
Diffstat (limited to 'gui')
-rw-r--r-- | gui/EditTextWidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/EditTextWidget.cpp b/gui/EditTextWidget.cpp index 277b69bc74..616bf51b13 100644 --- a/gui/EditTextWidget.cpp +++ b/gui/EditTextWidget.cpp @@ -52,6 +52,7 @@ void EditTextWidget::setEditString(const String &str) { } void EditTextWidget::handleScreenChanged() { + EditableWidget::handleScreenChanged(); _leftPadding = g_gui.evaluator()->getVar("EditTextWidget.leftPadding", 0); _rightPadding = g_gui.evaluator()->getVar("EditTextWidget.rightPadding", 0); } |