javascript - Force height and scrollbar in Ext.tip (Extjs 3.4) -
i have ext.tip component:
var tip = new ext.tip({ header: true, collapsible: true, width: 350 }); and receives results queries. gets small paragraphs , big ones. resizes nicely based on sizes. like, though, set specific tip's height , scrollbar if needed. i've tried:
autoscroll: true, overflow: 'auto', layout: 'fit', height: 300, but had no effect on want. checking http://docs.sencha.com/extjs/3.4.0/#!/api/ext.tip suggested me there no way far understand. there way in extjs 3.4 achieve this? dirty-hack solution perhaps?
a simple minimal working example can found here: http://jsfiddle.net/gery/m7xdxwp8/8/
any hints appreciated,
after going through source code, saw there couple of flags can changed allow ext.tip instance scrollable , have fixed height:
var tip = new ext.tip({ header: true, collapsible: true, autoheight: false, width: 350, height: 50, autoscroll: true }); check here: http://jsfiddle.net/gportela/deojvevn/
let me know if helps.
Comments
Post a Comment