diff options
author | John Ahlroos <john@vaadin.com> | 2012-10-25 17:11:15 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2012-10-29 11:55:08 +0000 |
commit | 228186fe44245fa46a1614d027c89a276505685e (patch) | |
tree | b03aa2c277b6e03b4ee8affb6a552692caab2cff /client | |
parent | 1d20bee6af61e1297e4b65028fffc158d35999a0 (diff) | |
download | vaadin-framework-228186fe44245fa46a1614d027c89a276505685e.tar.gz vaadin-framework-228186fe44245fa46a1614d027c89a276505685e.zip |
Fixed Chameleon theme for InlineDatefield #10070
Change-Id: I7891d727ab75a48e6607d6c49eba664a32a4d255
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/datefield/VCalendarPanel.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/datefield/VCalendarPanel.java b/client/src/com/vaadin/client/ui/datefield/VCalendarPanel.java index a9528cd145..0d77b4d023 100644 --- a/client/src/com/vaadin/client/ui/datefield/VCalendarPanel.java +++ b/client/src/com/vaadin/client/ui/datefield/VCalendarPanel.java @@ -203,6 +203,8 @@ public class VCalendarPanel extends FocusableFlexTable implements public VCalendarPanel() { + setStyleName(VDateField.CLASSNAME + "-calendarpanel"); + /* * Firefox auto-repeat works correctly only if we use a key press * handler, other browsers handle it correctly when using a key down @@ -610,6 +612,10 @@ public class VCalendarPanel extends FocusableFlexTable implements * Updates the calendar and text field with the selected dates. */ public void renderCalendar() { + + super.setStylePrimaryName(parent.getStylePrimaryName() + + "-calendarpanel"); + if (focusedDate == null) { Date now = new Date(); // focusedDate must have zero hours, mins, secs, millisecs |