membersound
unread,Dec 28, 2012, 4:40:01 AM12/28/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Hi,
how can I vertically center elements within a FlowPanel? I have several FocusPanels inside a FlowPanel, which means they are stacked on each other. One of the focuspanels has an image, which should be centered both horizontally and vertically within that focuspanel. But no matter what I tried, it is always placed at the top of this panel.
<g:FlowPanel>
<g:FocusPanel>
<g:Image resource='{res.myimage}' />
</g:FocusPanel>
<g:FocusPanel>
...
</g:FlowPanel>
Can anyone help?