jeudi 22 janvier 2015

HtmlEditor Height Problem

please help me , i cant change htmleditor's height in window

it is my code, eveything perferct but for example windows 900 height i write too html editor 900 , but cant ;


Code:



Ext.create('Ext.window.Window', { id: 'noteWindow',
width: 400,
height: 300,
cls: 'windowPanel',
modal: true,
mode: mode,
userJid: userJid,
//maximizable: true,
closable: false,
color: defaultColor,
listeners: {
resize: setSize,
},
tools: [{
type: 'gear',
tooltip: 'Renk Paleti',
handler: function (e) {
btn = this.ownerCt.ownerCt.dockedItems.items[1].items.items[0];
colorChange = btn.ownerCt.ownerCt;
menuColorEvents();
cMenu.showAt(e.getXY());
}


}, {
type: 'maximize',
tooltip: 'Tam Ekran Görüntüle',
handler: function () {
if (this.type == 'maximize') {
this.ownerCt.ownerCt.maximize(true);
this.setType('restore');
} else {
this.ownerCt.ownerCt.restore(true);
this.setType('maximize');
}
this.setHidden(false);
}
}, {
type: 'close',
tooltip: 'Kaydet ve Çık',
handler: function (btn) {
btn = this;
saveNote(btn);
}
}],
items: [{
xtype: 'htmleditor',
fixed: true,
layout: 'fit',
value: value,
enableAlignments: false,
enableColors: false,
enableFont: false,
enableFontSize: false,
enableFormat: false,
enableLinks: false,
enableLists: false,
enableSourceEdit: false,


}],




});





HtmlEditor Height Problem

Aucun commentaire:

Enregistrer un commentaire