summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2010-12-07 15:48:38 +0000
committerArtur Signell <artur.signell@itmill.com>2010-12-07 15:48:38 +0000
commitede903d48329523a07dff5b820dfba410ae18e05 (patch)
tree69421df9188b8be3942973110f04390b550ceed9 /src
parent5257b56515beff2ef450aa4aaea3a3894bf00937 (diff)
downloadvaadin-framework-ede903d48329523a07dff5b820dfba410ae18e05.tar.gz
vaadin-framework-ede903d48329523a07dff5b820dfba410ae18e05.zip
#2942 - Dual captions for TwinColSelect
Changed style names to be consistent with server side API Added test for caption style names svn changeset:16375/svn branch:6.5
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VTwinColSelect.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VTwinColSelect.java b/src/com/vaadin/terminal/gwt/client/ui/VTwinColSelect.java
index eecb2aae85..ce3fd24e4c 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VTwinColSelect.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VTwinColSelect.java
@@ -134,7 +134,7 @@ public class VTwinColSelect extends VOptionGroupBase implements KeyDownHandler,
public HTML getOptionsCaption() {
if (optionsCaption == null) {
optionsCaption = new HTML();
- optionsCaption.setStyleName(CLASSNAME + "-options-caption");
+ optionsCaption.setStyleName(CLASSNAME + "-caption-left");
optionsCaption.getElement().getStyle()
.setFloat(com.google.gwt.dom.client.Style.Float.LEFT);
captionWrapper.add(optionsCaption);
@@ -146,7 +146,7 @@ public class VTwinColSelect extends VOptionGroupBase implements KeyDownHandler,
public HTML getSelectionsCaption() {
if (selectionsCaption == null) {
selectionsCaption = new HTML();
- selectionsCaption.setStyleName(CLASSNAME + "-selections-caption");
+ selectionsCaption.setStyleName(CLASSNAME + "-caption-right");
selectionsCaption.getElement().getStyle()
.setFloat(com.google.gwt.dom.client.Style.Float.RIGHT);
captionWrapper.add(selectionsCaption);