Wednesday, January 2, 2013

Center content of DockLayoutPanel North?

How could I center everything that is placed eg in the north/east/west/south segment of a docklayoutpanel?
The following does not work...
<ui:style>
.align {
float: center;
}
</ui:style>

<g:DockLayoutPanel> <g:north
styleName='{style.align}'><g:Label>A</g:Label></g:north>


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