Friday, December 21, 2012

Re: how to set the width of each widget in horizontalpanel?

setCellWidth ?

On Friday, December 21, 2012 9:31:14 AM UTC+1, tong123123 wrote:
as shown in the figure, if I add a datagrid in a HorizontalPanel, although I already set the datagrid width, but the space it occupy is very large and do not know how to control it (the width of the blue area in firebug).
In FlexTable, I can use setColWidth to set the width of the column, but if in HorizontalPanel, any method to set the width of the widget occupy (the blue area in the attachment)?

--
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/-/20rmW9gC5dsJ.
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