You need to set the cell widths to a value too.
E.g. if you set a simplepanel inside a horizontalpanel, you need to do
hp.setCellWidth(sp, "100%");

Ian

http://examples.roughian.com


2009/3/28 asianCoolz <second.co...@gmail.com>

>
> 1. i have horizontalPanel(title bar) add to --> verticalpanel -->
> Dockpanel.East . but when the titlebar is displayed on screen, its
> width is not set to 100%.  how to make it 100%
>
> 2. how to set simplePanel and dockpanel to fill the screen 100%
>
> for both cases i already tried setWidth("100%"). doesnt work. But when
> i tried setWidth("500") //in px it works... but not what i wanted. I
> want to set 100%
> >
>

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

Reply via email to