PDA

View Full Version : Multiselec Ux problem with big items



claudioprv
11 Jan 2013, 12:17 PM
I have the following problem with multiselect component with lots of items, it does not have built-in scrollbars in the lists to see how it looks:

41232

I would like to add internal bars on the lists, it's possible?

41233

Sencha component sample:
http://cdn.sencha.com/ext-4.1.1a-gpl/examples/multiselect/multiselect-demo.html

droessner
11 Jan 2013, 2:08 PM
You need to specify a layout for your panel. If no layout is specified, it defaults to layout: auto which is what is giving you the scrollbar on the outside panel. You'll probably want to specify layout: fit.

claudioprv
11 Jan 2013, 6:41 PM
http://www.youtube.com/watch?v=g7al3xAAdvo

this video is low resolution, is better seen in fullscreen

claudioprv
12 Jan 2013, 6:25 PM
Thank you for your reply ...
But my problem is that I was using version 4.1.1, this version has problem in this component, I updated to 4.1.1a the ItemSelector in this version is working perfect.
Are 2 components, ItemSelector what I am using, not the Multiselect, however:


4.0.2 - Multiselect Ok, ItemSelector ok -> Samples from Sencha Site use this version
4.0.1 - Multiselect Ok, ItemSelector ok
4.1.1 - Multiselect Fail ItemSelector Fail <- My version :((
4.1.1a - Multiselect Fail, ItemSelector Ok <- I'm using the ItemSelector :-?


I'm beginner with extjs, but I see that each version some component that was working perfect stop working while others who were with problems are corrected. I just hope this update do not damage parts of my project that were ok.

Thanks,
ClaudioPrv


You need to specify a layout for your panel. If no layout is specified, it defaults to layout: auto which is what is giving you the scrollbar on the outside panel. You'll probably want to specify layout: fit.