summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2010-10-08 11:58:17 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2010-10-08 11:58:17 +0000
commit8b6f11af016dee703b2f5c396bb61cb417b999fb (patch)
treec98083beed2ab77a618863cf94f19c40b4fbae4e /src
parent011608a0a39784c3834aa1a4c42f6b7280f3240a (diff)
parent26743eb8ac59a975d47fadfb7f61f9e80f69f550 (diff)
downloadvaadin-framework-8b6f11af016dee703b2f5c396bb61cb417b999fb.tar.gz
vaadin-framework-8b6f11af016dee703b2f5c396bb61cb417b999fb.zip
merged [15308] to 6.5
svn changeset:15465/svn branch:6.5
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java b/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java
index 08111452f7..469fbf20ae 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VCheckBox.java
@@ -42,8 +42,6 @@ public class VCheckBox extends com.google.gwt.user.client.ui.CheckBox implements
private Icon icon;
- private boolean isBlockMode = false;
-
private HandlerRegistration focusHandlerRegistration;
private HandlerRegistration blurHandlerRegistration;
@@ -170,26 +168,14 @@ public class VCheckBox extends com.google.gwt.user.client.ui.CheckBox implements
@Override
public void setWidth(String width) {
- setBlockMode();
super.setWidth(width);
}
@Override
public void setHeight(String height) {
- setBlockMode();
super.setHeight(height);
}
- /**
- * makes container element (span) to be block element to enable sizing.
- */
- private void setBlockMode() {
- if (!isBlockMode) {
- DOM.setStyleAttribute(getElement(), "display", "block");
- isBlockMode = true;
- }
- }
-
public void onFocus(FocusEvent arg0) {
client.updateVariable(id, EventId.FOCUS, "", true);
}