PDA

View Full Version : toolbab hmlteditor too long



LOo
3 Sep 2010, 4:30 AM
Hi,

I try to use HTMLeditor in a small form so I can't see all buttons.

The code is (Ext 3.2 same result on ext 2.3)

Thinxs
LOo


Ext.onReady(function(){

// Simple example rendered with default options:
Ext.QuickTips.init();

new Ext.FormPanel({
title : 'HtmlEditor Plugins Form',
renderTo : 'test',
width : 550,
height : 200,
border : false,
frame : true,
items : [{
hideLabel : true,
labelSeparator : '',
name : 'description',
value : 'The quick brown fox jumps over the fence<br/><img src="training.jpg" width="300" height="200"/>',
width : 450,
xtype : "htmleditor"
}],
buttons : [{
text : 'Save'
}]
});

});

Condor
3 Sep 2010, 4:33 AM
Quick fix:

Ext.Toolbar.prototype.enableOverflow = true;
(but you now have to configure any toolbar that shouldn't have an overflow menu with enableOverflow:false)

LOo
3 Sep 2010, 5:47 AM
great
thinks