-
29 Jan 2012 9:54 AM #1
Beta2. I don't understand BorderLayoutContainer.
Beta2. I don't understand BorderLayoutContainer.
...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?
Code:<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"/> </ui:with> <ui:style> .panel { background-color: ivory; } </ui:style> <container:BorderLayoutContainer styleName="{style.panel}"> <container:west layoutData="{borderLayoutData}"> <c:ContentPanel/> </container:west> <container:center> <c:ContentPanel/> </container:center> </container:BorderLayoutContainer> </ui:UiBinder>Konstantin Scheglov
-
30 Jan 2012 12:46 AM #2
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 #3
Hm...
No, this does not help - my ContentPanel still ignores pressing of collapse button.Konstantin Scheglov
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote