View Full Version : Beta2. I don't understand BorderLayoutContainer.

29 Jan 2012, 9:54 AM
...or may be it works not as I expect.
...or BorderLayoutContainer has bug.

Why with code below I see collapse button on the "west" panel, but it does not work?

<ui:UiBinder> <ui:with type="com.sencha.gxt.widget.core.client.container.BorderLayoutContainer.BorderLayoutData" field="borderLayoutData">
<ui:attributes size="0.3" collapsible="true" split="true"/>
.panel {
background-color: ivory;

<container:BorderLayoutContainer styleName="{style.panel}">
<container:west layoutData="{borderLayoutData}">

30 Jan 2012, 12:46 AM
I've seen some people observing problems if not all parts of the BorderLayoutContainer is in use. You could try putting empty ContentPanels in the rest of the borders (north, east and south), and see if it works. If it does you could have found an already know bug.

30 Jan 2012, 6:31 PM
No, this does not help - my ContentPanel still ignores pressing of collapse button.