Thanks for the answer but I need some more help.

If I have something like below -
LayoutCOntainer lc = new layoutContainer()

lc.add(new Label("myText");
Can you please explain how to apply the style?


On Dec 6, 11:33 pm, Yozons Support on Gmail <[email protected]> wrote:
> In general, CSS should be used to affect such things as they are external,
> tunable, skinnable, etc. You can use addStyleName() to add any styles (CSS
> classes actually) you want to the label, or if all your labels should be the
> same, you can set .gwt-Label to use any common styles for all labels, etc.
> Or if you put a style on the container that holds the Label, you can then
> set the styles so it applies to all Labels in such a container using
> .ContainerStyleName .gwt-Label .....

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to