0
패널 컨트롤 안에 창 컨트롤을 넣고이 패널 내부의 창을 제한해야합니다.패널 내부의 Extjs 창
이 내 코드가 다시 시작이다 :
Ext.define('App.view.MainWindow', {
extend: 'Ext.container.Viewport',
alias: 'widget.mainwindow',
layout: 'vbox',
items: [
{
xtype: 'panel',
height: 50,
width: '100%',
layout: 'hbox'
},
{
xtype: 'panel',
height: 400,
width: '100%',
layout: 'hbox',
items:[
window1 = Ext.create('Ext.window.Window', {autoShow:true, width:90}),
window2 = Ext.create('Ext.window.Window', {autoShow:true, width:400})
]
}
],
를이 코드로, 두 창은 서로의 상단에 나타납니다.
감사합니다.
: 사실 만 수평 메뉴는 다른 컨트롤의 상단에있을 필요가? Windows는 정의에 따라 부동입니다. 또한 배열 내의 할당이 컴파일 될지 확신 할 수 없습니다. – themel
다른 컨트롤 위에 나타나는 수직 메뉴 (http://postimage.org/image/c4io120u5/)를 만들어야합니다. – Beetlejuice