Making a panel in border layout to float over center panel

懵懂的女人 提交于 2019-12-11 19:43:07

问题


I am using border layout in ExtJs 4 wherein the east panel is a collapsible panel. When I expand the panel it forces the center panel to adjust (shrink). Similarly When the east panel is collapsed the center panel retracts.

The desired behavior is that when I expand the east panel it should float over the center panel and not force it to adjust itself. How can I achieve this?


回答1:


Set the floatable: true config option on the east panel. See also the Border layout example.



来源:https://stackoverflow.com/questions/18576497/making-a-panel-in-border-layout-to-float-over-center-panel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!