fix issue 32 submitted on dlangide

This commit is contained in:
Vadim Lopatin 2015-02-20 16:23:12 +03:00
parent fcda30b159
commit 5e59151661
1 changed files with 2 additions and 0 deletions

View File

@ -1689,6 +1689,8 @@ class EditBox : EditWidgetBase {
if (visibility == Visibility.Gone) { if (visibility == Visibility.Gone) {
return; return;
} }
if (rc != _pos)
_contentChanged = true;
super.layout(rc); super.layout(rc);
if (_contentChanged) { if (_contentChanged) {
measureVisibleText(); measureVisibleText();