使边框布局中的面板浮动在中心面板上 [英] Making a panel in border layout to float over center panel

查看:120
本文介绍了使边框布局中的面板浮动在中心面板上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ExtJs 4中使用边框布局,其中东面板是可折叠面板。当我扩展面板时,会强制中心面板进行调整(缩小)。类似地当东面板折叠时,中心面板缩回。

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?

推荐答案

设置 floatable:true config选项在东面板。另请参见边框布局示例

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

这篇关于使边框布局中的面板浮动在中心面板上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆