PDA

View Full Version : Combobox center trigger icon vertically when increasing height



andreas-spindler
12 Nov 2013, 9:15 AM
Hi,

if I increase the height of a field derivered from Ext.form.field.Trigger the trigger icon remains on top. This comes from an td attribute valign=top.


<td valign="top" class="x-trigger-cell x-unselectable" style="width:22px;" id="some-id" >
How can I easily change this, so that I can increase the height of the field and it still looks properly?

Regards,
Moes

Gary Schlosberg
18 Nov 2013, 5:59 PM
I'm not sure that you can, easily anyway. If not the top, where are you trying to have it render?

andreas-spindler
18 Dec 2013, 5:16 AM
Well, my first guess would be: vertically centered. If I change the valign with the developer tools to "middle" it looks nice. Is it intentionally set to "top" and not to "middle"?