Which RootPanel are you styling? PopupPanel's are added as direct children 
of the <body>, i.e. RootPanel.get().

On Thursday, January 17, 2013 9:59:04 AM UTC+1, tong123123 wrote:
>
> all my css class has the prefix class name .als to prevent css classname 
> collision with other project, e.g.
> .als .class1{};
> .als .class2{};
>
> I plan to use 
>
>> rootPanel.addStyleName("als");
>>
> so that all element will has prefix css classname "als", and I can just use
>
>> textbox1.addStyleName("class1");
>>
>
> but I discover that in all PopupPanel, this is not true, the widget is 
> PopupPanel will not has prefix css classname "als", so it is very trouble 
> to add
>
>> .addStyleName("als");
>>
> in the first line of each PopupPanel.
> Any method to let all widget in my application, including widgets in 
> PopupPanel, will have css classname "als"?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/ndRbSO3vKUMJ.
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