View Full Version : [OPEN-1457] Combobox setHeight method does not work

Caius Caesar
18 Nov 2010, 2:38 AM
In short: changing the height of a combobox (using setHeight()) does not work. I understand the limitations of the trigger image (can replace that) but the combobox just does not react at all...

4 Dec 2010, 3:42 AM
Can you post a test case by following this thread. Thanks.


6 Dec 2010, 10:25 AM
Caius Caesar, if you want this to be fixed in the next version of Ext, then post the test case that demonstrates the error. The dev team should be able to copy paste it in their browser, reproduce the error and fix it (if indeed broken).

Caius Caesar
7 Dec 2010, 1:14 AM
Sorry for the delay, this code demonstrates it:

<title>Testpage Ext</title>
<link rel="stylesheet" type="text/css" href="../../ext/resources/css/ext-all.css" />
<script type="text/javascript" src="../../ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="../../ext/ext-all-debug.js"></script>
<!-- EXAMPLES -->
<script type="text/javascript">
function CreateForm() {

var viewport = new Ext.Viewport({
layout: 'border'
, items: [
id: 'myCenterPanel',
region: 'center',
layout: 'absolute',
autoScroll: true

var increaseSize = new Ext.Button({
text: 'increase Size',
x: 5,
y: 5,
width: 100
var decreaseSize = new Ext.Button({
text: 'decrease Size',
x: 5,
y: 30,
width: 100
var combo = new Ext.form.ComboBox({
store: ['test', 'foo', 'bar'],
x: 200,
y: 5,
width: 100


increaseSize.on("click", function (e) {
combo.setHeight(combo.getHeight() + 2);
decreaseSize.on("click", function (e) {
combo.setHeight(combo.getHeight() - 2);


Ext.onReady(function () {