Unbelievable!!!!!!!!!!! it is A REALLY GREAT CONTRIBUTION to the ext-user community!!! y personally thank you for posting this.
Thanks a LOT.
configurable fx. Cool. I just commented on something about that in another thread.
Not sure why that isn't:animCollapse : Boolean
True to animate the transition when the panel is collapsed, false to skip the animation (defaults to true if the Ext.Fx class is available, otherwise false).
By the way, I understand better why the size is constrained to the base panel, but still, if you make your grid example real short, what happens...does it add vertical scroll bars? Your other screenshot, the panels start to stretch out with empty space. Just seems like there should be a config for the height in those situations which might be for 'fit' or maxHeight or whatever.
Sickness Jay! My original approach at a drawer component this was not nearly as nice. This will be a nice extension for those working on webtop style apps.
Ideally, you should configure the parent window (which the drawers resize themselves to) to min dimensions.
The drawers are extensions of Ext.Window, which extend Panel - so you have all of the resizing functionality. I'm going to leave it up to the developer ( like Ext does ) to manage sizing. Ideally, you never want your drawer to get too small - otherwise having one (like in the grid example) makes no sense
Thanks for your feedback dude. It's always valuable.
I think the users's should be able to resize the drawer, ie pull it in or out using a drag handle. Also I think that you will need to ensure that the drawer gets masked when the parent window is masked, if you haven't done so already.
Very nice. Need to sync the drawers when the main window is resized.
Hooray for more Mac fx