Originally Posted by
watteeuw
Tried to Render the Group but no success.
Please demonstrate how did you try?
Originally Posted by
watteeuw
I saw a meesage on ExtJs forum saying is not possible.
Please clarify what exactly is not possible? Re-rendering the ButtonGroup?
Originally Posted by
watteeuw
Switched to container and tried this, but didn't find the wining combination, yet:
<Viewport>
<Listeners>
<Resize Handler="var size = Ext.getBody().getViewSize(); if(size.width>1100) {#{Container3}.layout.type='hbox';} else {#{Container3}.layout.type='vbox';} #{Container3}.doComponentLayout(); " />
I think changing ct.layout.type is not enough to change a layout. Generally, I am not sure the containers support changing its layout on the fly. There is the setLayout method.
http://docs.sencha.com/ext-js/4-1/#!...thod-setLayout
But it is private. There is no guarantee that it will work will in public usage. I think changing the layout requires re-rendering as well.
Could you, please, clarify what exactly are you trying to achieve? Mockups with the initial and after resizing states would be appreciated. Then, probably, we could suggest something concrete.