Thursday, December 27, 2012

Alignment of FocusPanel with PCT?

Hi,

I want to create some inner FocusPanels, and align them in percent (PCT).
But I can even not align just 2 Panels to a PCT size:

<g:DockLayoutPanel unit='EM'>
    <g:north size='20'>
    <g:HorizontalPanel>
        <g:FocusPanel width='90%'><g:Label>Left</g:Label></g:FocusPanel>
        <g:FocusPanel><g:Label>Right</g:Label></g:FocusPanel>
    </g:HorizontalPanel>
    </g:north>
</g:DockLayoutPanel>

Result: Both labels are align to the left one ofter another. Why is the 1st panel not taking 90% of the screen?

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