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