PDA

View Full Version : [INFOREQ] Ext.form.ComboBox -> ctCls - config



tobiu
6 Jul 2010, 9:08 AM
hello again,

i tried out this config for the first time, just setting a class:



.marginTop16 {
margin-top: 16px;
}


in ie8 and chrome, this moves down the whole container als expected.
in ff 3.6.6 this does not move down the labelText.

ok, i can write:



ctCls : 'marginTop16',
labelStyle : Ext.isGecko3 ? 'margin-top:16px;' : ''


off topic: it would be nice if both configs could address a style or css, so +1 for a labelCls-config.

with this litte workaround, the alignment is nice, but in chrome there is another layout-issue: the height of the trigger and the input-field do not match any longer (screen attached).


kind regards,
tobiu

Jamie Avins
7 Jul 2010, 10:03 AM
Please provide a complete test case.