Thursday, January 3, 2013

Re: Center content of DockLayoutPanel North?

Perhaps apply  the style to the Label rather than the north element?


On Wed, Jan 2, 2013 at 4:47 AM, membersound <kodyrecords@gmail.com> wrote:
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.



--
-- A. Stevko
===========
"If everything seems under control, you're just not going fast enough." M. Andretti




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