Monday, May 24, 2010

Re: how to get the max screen size (useable screen area of the browser)

great, thats it! thanks!

On Sun, May 23, 2010 at 11:21 AM, Thomas Broyer <t.broyer@gmail.com> wrote:


On 23 mai, 10:21, outsource lucas <outsourcelu...@gmail.com> wrote:
> how to get the max screen size?
> (talking about useable screen area of the browser, not about the
> monitor resolution)
>
> do you first have to add a widget to the rootpanel and then call
> widget.getHeight and widget.getWidth? isnt there an easier/faster way?

Are you looking for Window.getClientWidth/getClientHeight?

--
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+unsubscribe@googlegroups.com.
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment