Reputation: 37
I am trying to run the code from this link - Sencha TreePicker - Fiddle. I am unable to get the scrollbars to show-up. In the fiddle it shows up as expected since it uses EXTJS 5.0.
I am using EXTJS 6.0.2-Classic for my app. And this is what I am getting :
I tried setting these properties on the panel:
autoScroll: true
scroll: true
But it made no difference. Any suggestions to get the vertical and horizontal scrolls?
Upvotes: 0
Views: 259
Reputation: 876
I guess the fiddle is working because the parent component has set a height and a width and you did not do that. You need to set this to get either of the scroller (height for vertical, width for horizontal scroller).
The easiest way to achieve is to set your component to
flex: 1
Upvotes: 1