Re: Why doesn't applying styles to labels work?

2013-01-30 Thread Thomas Broyer
Answered on SO: http://stackoverflow.com/questions/14593043/why-doesnt-setting-the-styles-of-labels-work On Wednesday, January 30, 2013 3:00:09 PM UTC+1, thesilv...@gmail.com wrote: > > I want to apply styles to labels such as color, boldness, alignment and > whatnot. This doesn't seem to work

Re: Why doesn't applying styles to labels work?

2013-01-30 Thread Rob Whiteside
I don't think you can use the dot (.) in the middle like that. Try setting your style to something like ".gwt-Label-Green" or something similar. On Wednesday, January 30, 2013 6:00:09 AM UTC-8, thesilv...@gmail.com wrote: > > I want to apply styles to labels such as color, boldness, alignment

Why doesn't applying styles to labels work?

2013-01-30 Thread thesilverhammer
I want to apply styles to labels such as color, boldness, alignment and whatnot. This doesn't seem to work. Consider the following code: public class StyleTest implements EntryPoint { private final AbsolutePanel absolutePanel = new AbsolutePanel(); private final Label lblNormalLabel = new Label(