Skip to content

Commit

Permalink
Apply "v-checkbox" style name for a CheckBox element to get correct s…
Browse files Browse the repository at this point in the history
…tyling when the Valo theme is in use. Fixes issue #8.
  • Loading branch information
Henri Kerola committed Apr 4, 2015
1 parent 87da253 commit 185b517
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ public class VFlexibleOptionGroupItemComponent extends Composite implements

public static final String CLASSNAME = "v-flexibleoptiongroupitemcomponent";

protected String paintableId;

protected SimplePanel panel;
protected CheckBox checkbox;

Expand Down Expand Up @@ -45,6 +43,7 @@ public void setMultiSelect(boolean multiselect) {
this.multiSelect = multiselect;
if (multiselect) {
checkbox = new CheckBox();
checkbox.addStyleName("v-checkbox");
} else {
checkbox = new RadioButton(ownerId);
checkbox.setStyleName("v-radiobutton");
Expand Down

0 comments on commit 185b517

Please sign in to comment.