From: Matti Tahvonen Date: Tue, 27 May 2008 08:31:15 +0000 (+0000) Subject: fixes #1725 X-Git-Tag: 6.7.0.beta1~4692 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ea9241f6f0ba80a54c8e7e291dfc208802809f81;p=vaadin-framework.git fixes #1725 svn changeset:4645/svn branch:trunk --- diff --git a/WebContent/ITMILL/themes/default/datefield/datefield.css b/WebContent/ITMILL/themes/default/datefield/datefield.css index 834945e7fc..529d05b80b 100644 --- a/WebContent/ITMILL/themes/default/datefield/datefield.css +++ b/WebContent/ITMILL/themes/default/datefield/datefield.css @@ -1,4 +1,5 @@ -.i-datefield .i-button { +.i-datefield-button { + font-size:13px; width: 22px; height: 25px; padding: 0; diff --git a/WebContent/ITMILL/themes/default/styles.css b/WebContent/ITMILL/themes/default/styles.css index 8a7058c1d6..4b4d3d029b 100644 --- a/WebContent/ITMILL/themes/default/styles.css +++ b/WebContent/ITMILL/themes/default/styles.css @@ -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; diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IPopupCalendar.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IPopupCalendar.java index 3bc0a9a03c..307519c713 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IPopupCalendar.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IPopupCalendar.java @@ -7,6 +7,7 @@ package com.itmill.toolkit.terminal.gwt.client.ui; import com.google.gwt.user.client.DOM; import com.google.gwt.user.client.Timer; import com.google.gwt.user.client.Window; +import com.google.gwt.user.client.ui.Button; import com.google.gwt.user.client.ui.ClickListener; import com.google.gwt.user.client.ui.PopupListener; import com.google.gwt.user.client.ui.PopupPanel; @@ -19,7 +20,7 @@ import com.itmill.toolkit.terminal.gwt.client.UIDL; public class IPopupCalendar extends ITextualDate implements Paintable, Field, ClickListener, PopupListener { - private final IButton calendarToggle; + private final Button calendarToggle; private final CalendarPanel calendar; @@ -29,7 +30,8 @@ public class IPopupCalendar extends ITextualDate implements Paintable, Field, public IPopupCalendar() { super(); - calendarToggle = new IButton(); + calendarToggle = new Button(); + calendarToggle.setStyleName(CLASSNAME + "-button"); calendarToggle.setText("..."); calendarToggle.addClickListener(this); add(calendarToggle);