summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2012-01-12 10:48:04 +0000
committerArtur Signell <artur.signell@itmill.com>2012-01-12 10:48:04 +0000
commit551880e879017cd75cf1897ec3b5b2ab35f11bda (patch)
tree166bb0e07574df9cea371afe885acd9d776a0bd5 /src
parenta884ca7d64962ddc3d283c469310541ce0a3ef0a (diff)
downloadvaadin-framework-551880e879017cd75cf1897ec3b5b2ab35f11bda.tar.gz
vaadin-framework-551880e879017cd75cf1897ec3b5b2ab35f11bda.zip
#8085 Recalculate DateField width when enabled state changes
svn changeset:22603/svn branch:6.7
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VPopupCalendar.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VPopupCalendar.java b/src/com/vaadin/terminal/gwt/client/ui/VPopupCalendar.java
index 549248aab3..08e5328b40 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VPopupCalendar.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VPopupCalendar.java
@@ -225,10 +225,6 @@ public class VPopupCalendar extends VTextualDate implements Paintable, Field,
}
if (lastReadOnlyState != readonly || lastEnabledState != isEnabled()) {
- // Enabled or readonly state changed. Differences in theming might
- // affect the width (for instance if the popup button is hidden) so
- // we have to recalculate the width (IF the width of the field is
- // fixed)
updateWidth();
}