hamzafi
31 Jul 2012, 6:06 PM
Hi All,
I am currently required to have following
1) Viewport with a button somewhere
2) Button on click add panel to viewport filling out full dimensions of container
3) panel on render has all its components proportionally resize keeping in mind current size of panel (full viewport)
4) Button clicks again another panel should be added to the viewport horizontally adjacent to previous panel, Now both of these panels should occupy 50% space each with their inner components resizing accordingly
3) Button clicks 3rd time a third panel should be added with all occupying 33% space so on so forth
The above is for a max of 5 panels after which the 6th Panel should be added to a new row in the view port, the total panels this viewport can hold should be 10 maximum.
Please advise on how to do this preferably using Sencha Architect if possible?
I am currently required to have following
1) Viewport with a button somewhere
2) Button on click add panel to viewport filling out full dimensions of container
3) panel on render has all its components proportionally resize keeping in mind current size of panel (full viewport)
4) Button clicks again another panel should be added to the viewport horizontally adjacent to previous panel, Now both of these panels should occupy 50% space each with their inner components resizing accordingly
3) Button clicks 3rd time a third panel should be added with all occupying 33% space so on so forth
The above is for a max of 5 panels after which the 6th Panel should be added to a new row in the view port, the total panels this viewport can hold should be 10 maximum.
Please advise on how to do this preferably using Sencha Architect if possible?