On Feb 15, 7:03 am, Ahmed Ashour <[email protected]> wrote:
> Hi all,
>
>     - First, why Style.Unit [1] is not documenting the values?

Why do you want the values?
(and you're given the source, use it!)
(btw, they're all the lowercase version of the enum's value name,
except for PCT which is "%")

>     - How to make DockLayoutPanel fully occupies the screen (100%
> width, 100% height), I tried to use the far below example.
>
>     - No matter what unit value is, I always get
>  <DIV style="POSITION: relative; WIDTH: 100px; HEIGHT: 100px">
>
>  which is '100px', not '100%'

width and height attributes don't use the unit, they're just
equivalent to the setWidth adn setHeight methods, to which you should
pass a valid CSS length; in your case width='100%' height='100%'
should do it.

>     - Even removing widht and height, and setting <g:center
> size='100'> doesnot have an effect.

This is (partly) because you don't use a RootLayoutPanel.

-- 
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