我是extjs的新手.我想用extjs构建一个页面.
_________________________
| hd ______________________ |
| p1 <| p2 |
| | | - >将是一个视口(将在没有任何
| | |滚动条
| |
| | |
| | |
| ____________ | _______________ |的情况下调整窗口大小.
高清 - >标题宽度为100
p1 - >面板1将在西方折叠并且split = true
我构建了结构,但即使在窗口调整大小时也无法100%维护它
代码链
EditorUi = Ext.extend(Ext.Viewport, {
layout: 'fit',
initComponent: function() {
this.items = [{
xtype: 'panel',
title: 'Heading',
autoHeight: true,
autoWidth: true,
layout: 'hbox',
items: [{
xtype: 'panel',
title: 'Navigation',
collapsible: true,
region: 'west',
width: 200,
split: …Run Code Online (Sandbox Code Playgroud)