Revision 240a4ed8
Added by Andreas Kohlbecker almost 7 years ago
src/main/java/eu/etaxonomy/vaadin/component/SwitchableTextField.java | ||
---|---|---|
50 | 50 |
|
51 | 51 |
addStyledComponent(textField); |
52 | 52 |
addStyledComponent(unlockSwitch); |
53 |
addDefaultStyles(); |
|
53 | 54 |
} |
54 | 55 |
|
55 | 56 |
/** |
... | ... | |
100 | 101 |
*/ |
101 | 102 |
@Override |
102 | 103 |
protected void addDefaultStyles() { |
103 |
// no default styles |
|
104 |
|
|
104 |
unlockSwitch.addStyleName(Switch.ICON_STYLE); |
|
105 | 105 |
} |
106 | 106 |
|
107 | 107 |
/** |
Also available in: Unified diff
ref #6759 using new icon style of switch