I am struggling with some minor layout changes in vaadin that need to be implemented on the Java and Css side.
Every time I need to customize the layout, for example padding-top, background color or bold text of one component, I also need to set the style using Java code:
userLink.setStyleName("textbold");
The changes to my .css styles (under VAADIN / themes / app /) will be as follows:
@import "../runo/styles.css"; .textbold { font-weight: bold; } ...
Is this the right way to change CSS, or is there another way? Can I do this without affecting the Java code?
java css layout vaadin
Karussell May 13 '10 at 1:18 p.m. 2010-05-13 13:18
source share