View Full Version : FormPanel in Window Size, Window Size Fit

28 Apr 2011, 9:30 PM
I've been studying EXTJS
Window has been generating in the FormPanel.
Window is in the form of a Column and a dog that was loaded in the FormPanel 2.
When is this,
Window in time to increase the size of the FormPanel can also automatically increase the size I hope.

This is the source.

var config = {
renderTo: document.body,
title: this.titleText,
width: 800,
labelWidth: 80,
height: 400,
minWidth: 800,
minHeight: 400,
layout: 'column',
closable: false,
draggable: false,
tools: [{
id: 'close',
handler: function (e, target, panel) {
self.close ();
items: [{
columnWidth: .5,
layout: 'form',
border: false,
items: [bbsCompareForm1]
}, {
columnWidth: .5,
layout: 'form',
border: false,
items: [bbsCompareForm2]
buttons: [{
text: this.closeBtn,
cls: 'Btn03',
overCls: 'x-btn03-over',
handler: function () {
self.close ();
buttonAlign: 'center'

Ext.apply (this, Ext.apply (this.initialConfig, config));
trbbs.ux.bbsCompare.superclass.initComponent.call (this);

I hope soon as possible treatment. Thanks:)