are you setting the size of the docklayout panel or making it use all the
available size of your popuppanel? Yes you can use window %.

I would suggest you set min width and height for your popup panel and make
the docklayout panel cover the width and height of your popup.  Setting min
width and height would ensure that even on small screens your widget would
render tidily.

~Ashwin

On Mon, Jul 9, 2012 at 3:50 PM, tong123123 <[email protected]> wrote:

> is using a percentage of Window.getClientHeight() and
> Window.getClientWidth() the correct direction?
>
>
> On Monday, July 9, 2012 4:37:33 PM UTC+8, tong123123 wrote:
>>
>> In developer guide
>> https://developers.google.com/**web-toolkit/doc/2.4/**DevGuideUiPanels<https://developers.google.com/web-toolkit/doc/2.4/DevGuideUiPanels>
>> seems it must explicit set the size inside PopupPanel
>> in section
>>
>>> Using a LayoutPanel without RootLayoutPanel
>>
>>
>>
>> my PopupPanel encloses a DockLayoutPanel and the DockLayoutPanel has size
>>
>>> setSize("1230px", "720px");
>>>
>>
>> the problem is different computer will have different resolution, so
>> sometime the PopupPanel is too large to see in the client's computer,
>> sometime it is too small to see in another client's computer, any method to
>> resolve it?
>>
>> the popuppanel is shown as attached (this resolution is just match in my
>> pc, but not in others clients pc).
>>
>>
>>
>>  --
> 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/-/O0JkE2ZKRugJ.
>
> 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.
>

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