Reputation: 2688
I was trying to specify usage of a DeckLayoutPanel (not Dock...) in UiBinder using <g:layer>
tags, but that didn't seem to work. Does anyone have proper usage of this component when using inside .ui.xml?
I don't see it documented in javadoc at least or anywhere on the web for that matter.
Upvotes: 2
Views: 963
Reputation: 64541
<g:layer>
tags are only for LayoutPanel
. DeckLayoutPanel
manages the layout of its children, so you use it just like any HasWidgets
: add child widgets as direct child elements.
You can see it used in the MobileWebApp sample's Tablet UI.
Upvotes: 0
Reputation: 8318
plusplayground library seems to use DeckLayoutPanel with UiBinder. I've not used this one, not sure if it's working or not. Having said that, you haven't mentioned about any specific issues with that.
Upvotes: 1