PDA

View Full Version : Fit grid to resizeable window



guys2008
24 Oct 2010, 7:17 AM
Hi,
I have a grid that's displayed on a window. The window is resizeable, but when I try to expand the window height, The grid stays in its original dimensions and doesn't expand to the new, unused space.

Is there any straightforward way to implement this capability ?

Thanks !

Animal
24 Oct 2010, 7:19 AM
This is a topic which you should learn and appreciate before developing any Sencha application.

http://dev.sencha.com/deploy/dev/docs/?class=Ext.Container&member=layout

steffenk
24 Oct 2010, 7:19 AM
search in Extensions for Condor's FitToParent plugin

guys2008
24 Oct 2010, 7:25 AM
Thanks a lot.
FitLayout did the trick...

Animal
24 Oct 2010, 7:28 AM
search in Extensions for Condor's FitToParent plugin

Not for when it's being contained in a Container such as a Window.

steffenk
24 Oct 2010, 7:30 AM
you're right, remind this after reading your answer.