From 7fff35a8588eae4b0ebad74d0952ad5a94bef2a2 Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Wed, 7 Oct 2009 10:40:37 +0000 Subject: Fix for #2611: ComboBox in readonly differs from readonly TextField svn changeset:9124/svn branch:6.2 --- WebContent/VAADIN/themes/base/datefield/datefield.css | 1 + WebContent/VAADIN/themes/base/select/select.css | 4 ++-- WebContent/VAADIN/themes/base/styles.css | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'WebContent/VAADIN/themes/base') diff --git a/WebContent/VAADIN/themes/base/datefield/datefield.css b/WebContent/VAADIN/themes/base/datefield/datefield.css index 1427ff2195..720a80716f 100644 --- a/WebContent/VAADIN/themes/base/datefield/datefield.css +++ b/WebContent/VAADIN/themes/base/datefield/datefield.css @@ -1,5 +1,6 @@ .v-datefield { white-space: nowrap; + float: left; /* Force minimum width */ } .v-datefield-textfield { vertical-align: top; diff --git a/WebContent/VAADIN/themes/base/select/select.css b/WebContent/VAADIN/themes/base/select/select.css index 7da7c1201f..5899b48664 100644 --- a/WebContent/VAADIN/themes/base/select/select.css +++ b/WebContent/VAADIN/themes/base/select/select.css @@ -55,11 +55,11 @@ font-style: italic; } .v-filterselect-button { - float: right; cursor: pointer; + float: right; } .v-filterselect.v-readonly .v-filterselect-button { - display: none; + cursor: default; } .v-filterselect-suggestpopup { background: #fff; diff --git a/WebContent/VAADIN/themes/base/styles.css b/WebContent/VAADIN/themes/base/styles.css index 93258c44fc..886de8cc1c 100644 --- a/WebContent/VAADIN/themes/base/styles.css +++ b/WebContent/VAADIN/themes/base/styles.css @@ -454,6 +454,7 @@ div.v-app-loading { .v-datefield { white-space: nowrap; + float: left; /* Force minimum width */ } .v-datefield-textfield { vertical-align: top; @@ -886,11 +887,11 @@ div.v-progressindicator-indeterminate-disabled { font-style: italic; } .v-filterselect-button { - float: right; cursor: pointer; + float: right; } .v-filterselect.v-readonly .v-filterselect-button { - display: none; + cursor: default; } .v-filterselect-suggestpopup { background: #fff; -- cgit v1.2.3