Hi guys,
I'm trying to handle correct resize panel in buttongroup :
Code:
menu: {
xtype: 'menu',
plain: true,
items: {
xtype: 'buttongroup',
resizable: true,
width: 540,
height: 300,
layout: 'fit',
items: [{
flex: 1,
animateTarget: '#carrello',
xtype: 'panel',
html:'<h5>mio carrello e grid</h5>'
}]
}
}
when I increase size of panel it's work OK, but when I decrease size of panel, it's not anchored correctly to button (north east).
This is a demo of problem:
ResizeProblem.gif
How to code it?
this is fiddle: https://fiddle.sencha.com/#view/editor&fiddle/2ima
Thanks,
Davide