Tuesday, June 19, 2012

About fixed sized panel (in px)

This question may be some silly, but I have no different size monitor to test.
Assume a LayoutPanel enclose a fixed sized panel with setSize("100px", "100px");
if the same layout show in a larger size monitor with larger resolution, then the layoutPanel can resize according to the new monitor resolution (assume the layout panel attach with the RootLayoutPanel), but the fixed sized panel still has the size ("100px", "100px") and will look very strange (become very small), is it right?

I ask because I found there is always some case that must set the panel with fixed size  (like widget inside popupPanel, scrollPanel, or other Panel implements requireResize)

--
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/-/jpfsvenZhXwJ.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate