Does IE6 support standards mode properly?  I just used DockLayoutPanel
for the first time today; I noticed this warning:

http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/DockLayoutPanel.html

"This widget will only work in standards mode, which requires that the
HTML page in which it is run have an explicit <!DOCTYPE> declaration."

On Dec 30, 3:01 pm, ryan <ryanack...@gmail.com> wrote:
> To answer my own question:
>
> GWT was taking the right margin of the element and subtracting this
> from the width of it's container and then setting this as the width in
> the inline style. This seems to not be specific to DockLayoutPanel but
> it is specific to IE6.
>
> So for example, our uibinder xml looked something like this
>
> <g:DockLayoutPanel unit="PX">
>
>            <g:west size="200">
>                <a:TabList ui:field="tabList"/>
>            </g:west>
>            <g:center>
>              ....
>            </g:center>
>         </g:DockLayoutPanel>
>
> When viewing the DOM using the IE developer toolbar, TabList's element
> had a right margin of 20px for some reason. So I guess this is why GWT
> would place style="width:180px" on the TabList's element. We fixed it
> by explicitly setting the right margin to 0.
>
> On Dec 30, 4:47 pm, ryan <ryanack...@gmail.com> wrote:
>
>
>
> > When viewing our GWT application in IE 6, we've noticed some weird
> > behavior for the children of a DockLayoutPanel.
>
> > The width of the immediate children of the DockLayoutPanel (the ones
> > in north, south, east, west) gets set explicitly by GWT no matter what
> > you do. This only happens in IE6.
>
> > It's a big problem because it makes our app look like crap in IE 6 and
> > it's completely opaque to the developer. It overrides any width that
> > we set in Java and we can't find where it's happening. Since it's
> > browser specific we figure it must be some kind of compilation rule
> > for IE6.
>
> > Is anyone familiar with this problem? Any tips on overriding this
> > behavior?

--

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


Reply via email to