PDA

View Full Version : Render Container to top left postion of a panel



wasima
10 Jun 2013, 1:41 AM
Hi ,
I have a panel and a Ext.container.Container , i am rendering the conatiner on Panel ,but i want to render conatiner on top left position of panel how can i do that ?


In simple words how can i control rendering postion of container on the panel ?




regards and thanks in advance

friend
10 Jun 2013, 6:11 AM
You can get precise positioning by setting the layout of the Panel to absolute (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.layout.container.Absolute).