Wednesday, September 14, 2011

Re: How to center a DockLayoutPanel in the page

Add additional CSS styling to the panel

.center {
Margin-left : auto;
Margin-right : auto;
}

.width {
Width: 1000px;
}

<DockLayoutPanel addStyleNames="{style.center} {style.width }">
</DockLayoutPanel>


Thanks
Ashwin
Sent from my iPhone

On Sep 14, 2011, at 11:11 PM, Sanjay <skpatel20@gmail.com> wrote:

> Hi All,
>
> I want to have my DockLayoutPanel of width 1000px to get centered in
> the page in stead of left aligned. Using UiBinder. Tried a lot but not
> able to know how to have this. Need some help. Thanks.
>
> - Sanjay
>
> --
> 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.
>

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate