Because of a bug in the SDK you cannot subclass DockLayoutPanel and use it in the template xml.
http://code.google.com/p/google-web-toolkit/issues/detail?id=4342 Another solution would be to declare an interface and use that to specify the size for eg:- public interface DockPanelSize { Double westWidgetSize(); } <ui:with type="...DockPanelSize" field="dockpanelSize" /> <g:DockLayoutPanel unit='EM'> <g:west size='{dockpanelSize.westWidgetSize}'> <layouts:WestWidget ui:field='westWidget' /> </g:west> <g:center> <layouts:CenterWidget ui:field='centerWidget' /> </g:center> </g:DockLayoutPanel>
-- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.