]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #1725
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 27 May 2008 08:31:15 +0000 (08:31 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 27 May 2008 08:31:15 +0000 (08:31 +0000)
svn changeset:4645/svn branch:trunk

WebContent/ITMILL/themes/default/datefield/datefield.css
WebContent/ITMILL/themes/default/styles.css
src/com/itmill/toolkit/terminal/gwt/client/ui/IPopupCalendar.java

index 834945e7fc36442c8e530196aab6b3c95ce275bf..529d05b80b3adf9f86fa2e9e727660f19b225a13 100644 (file)
@@ -1,4 +1,5 @@
-.i-datefield .i-button {\r
+.i-datefield-button {
+       font-size:13px;\r
        width: 22px;\r
        height: 25px;\r
        padding: 0;\r
index 8a7058c1d6ddc15d02552cab7b22c5839fea17a1..4b4d3d029b01b1a7c81ef211da1b9a287a2f4cc0 100644 (file)
@@ -252,7 +252,8 @@ input.i-modified,
 .i-loading-indicator-wait {
        background: transparent url(common/img/loading-indicator-wait.gif);
 }
-.i-datefield .i-button {
+.i-datefield-button {
+       font-size:13px;
        width: 22px;
        height: 25px;
        padding: 0;
index 3bc0a9a03c060fd54f6aca8953f45ebc5541fa03..307519c7139ec6216a22907437db97ec95452078 100644 (file)
@@ -7,6 +7,7 @@ package com.itmill.toolkit.terminal.gwt.client.ui;
 import com.google.gwt.user.client.DOM;\r
 import com.google.gwt.user.client.Timer;\r
 import com.google.gwt.user.client.Window;\r
+import com.google.gwt.user.client.ui.Button;\r
 import com.google.gwt.user.client.ui.ClickListener;\r
 import com.google.gwt.user.client.ui.PopupListener;\r
 import com.google.gwt.user.client.ui.PopupPanel;\r
@@ -19,7 +20,7 @@ import com.itmill.toolkit.terminal.gwt.client.UIDL;
 public class IPopupCalendar extends ITextualDate implements Paintable, Field,\r
         ClickListener, PopupListener {\r
 \r
-    private final IButton calendarToggle;\r
+    private final Button calendarToggle;\r
 \r
     private final CalendarPanel calendar;\r
 \r
@@ -29,7 +30,8 @@ public class IPopupCalendar extends ITextualDate implements Paintable, Field,
     public IPopupCalendar() {\r
         super();\r
 \r
-        calendarToggle = new IButton();\r
+        calendarToggle = new Button();\r
+        calendarToggle.setStyleName(CLASSNAME + "-button");\r
         calendarToggle.setText("...");\r
         calendarToggle.addClickListener(this);\r
         add(calendarToggle);\r