Sfoglia il codice sorgente

#8085 Recalculate DateField width when enabled state changes

svn changeset:22603/svn branch:6.7
tags/7.0.0.alpha2
Artur Signell 12 anni fa
parent
commit
551880e879

+ 0
- 8
WebContent/VAADIN/themes/reindeer-tests/styles.css Vedi File

@@ -19,11 +19,3 @@
.v-readonly.v-datefield-enabled-readonly-styled .v-datefield-button {
display: none;
}

.popup-style .v-datefield-calendarpanel-header,
.v-datefield-popup-popup-style .v-datefield-calendarpanel-time {
background: red;
}
.popup-style .v-datefield-calendarpanel-body {
background: yellow;
}

+ 0
- 4
src/com/vaadin/terminal/gwt/client/ui/VPopupCalendar.java Vedi File

@@ -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();
}

Loading…
Annulla
Salva