PDA

View Full Version : [2.2] innerList.setOverflow('auto') in ComboBox



kio
20 Aug 2008, 2:48 AM
Hello Ext

Working with ComboBox I found that it performs the following on the "expand" event:


...
this.innerList.setOverflow('auto');
...
The code snippet above simply overrides any overflow attributes you specified for the class ".x-combo-list-inner" in either ext-all.css or your own style sheet.

Don't you think that JS line should be removed to allow developers taking control over list overflow behaviour from sheets?

Thanks!

Ilya

kio
21 Aug 2008, 10:07 PM
So you don't? :)

In my particular case I wanted to set overflow-x:hidden from CSS (with no success as you can see). The reason why I need it is that scrollbars overlaid list values in IE.

You can reproduce it by creating a ComboBox with the only record. IE scrollbars entirely overlay it so the value is unreadable.

Ilya