New GWT developer here....

I have a HorizontalPanel inside a DockLayoutPanel.  I've nested (via
UIBinder) two HTML widgets inside the horizontal panel.  The first one
I would like to be aligned with the left side of the page and the
second one aligned with the right side of the page.  The first one
works fine, but the second one is aligned left...right next to the
first one!  Is the problem with the width of the DockLayoutPanel, the
width of the HorizontalPanel, or something else?

Here's the XML...any pointers on where I messed up would be
appreciated:

        <g:DockLayoutPanel unit="PX">
                <g:north size="62">
                        <g:HorizontalPanel>
                                <g:cell horizontalAlignment='ALIGN_LEFT'>
                                        <g:HTML>
                                                .........
                                        </g:HTML>
                                </g:cell>
                                <g:cell horizontalAlignment='ALIGN_RIGHT'>
                                        <g:HTML>
                                                .........
                                        </g:HTML>
                                </g:cell>
                        </g:HorizontalPanel>
                </g:north>
        </g:DockLayoutPanel>

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