On Thu, Nov 25, 2010 at 12:24 PM, Gal Dolber <gal.dolber@gmail.com> wrote:
try this:slp.setSize("100%", "100%");
--On Thu, Nov 25, 2010 at 6:13 AM, massimo malvestio <massimo.malvestio@gmail.com> wrote:
Hi all!I've been palying around with StackLayoutPanel, when I noticed this strange behaviour:--StackLayoutPanel slp =
new StackLayoutPanel(Unit.PCT);slp.setSize(
"100", "100");I want a SLP that uses all space it founds.
Watching "source" in firefox using firebug I got this snippet of code:
<table cellspacing="0" cellpadding="0" style="width: 100%; height: 100%; position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px;" class="gwt-StackLayoutPanelContent">...
As you can see width and space are correctly set to 100% and 100%
Watching "source" in IE8 using developers' tool I got this snippet of code:
<div class="gwt-StackLayoutPanel" style="position: absolute; width: 100px; bottom: 0px; height: 100px; top: 0px; right: 0px; left: 0px;" __listener="[object Object]">
As you can see unit measure is totally wrong!
Does anybody know anything about it? Thank in advance for answers
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.
Guit: Elegant, beautiful, modular and *production ready* gwt applications.
http://code.google.com/p/guit/
--
Guit: Elegant, beautiful, modular and *production ready* gwt applications.
http://code.google.com/p/guit/
--
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