I’ve been frustrated lately with the lack of a solid panel component that can be closed, minimized and maximized so I took it upon myself to throw something together.
I tried to keep it as simple and customizable as possible. Each of the close, minimize and maximize buttons can be completely and independently skinned. All other styling for the Panel component can be applied. Even move and resize effects can be applied without messing up the state (minimize/maximize) transitions.
It’s still a work in progress, but solid enough for daily use. Enjoy!
Update 2/3/09: Fixed the Minimize -> Maximize -> Restore maximize issue outlined in David’s comment. Thanks for the suggestions, David!
Update 2/4/09: Added ability to apply ‘inactive styling’ when the panel is not in front.
If you found this post useful, please consider a small donation.
10 Comments
Nice Brandon. I might suggest naming it something different as there is already a SuperPanel component:
http://www.wietseveenstra.nl/blog/2007/04/flex-superpanel-v15/
Yours is the best so far. I think I will be replacing the existing SuperPanel in my app tonight! Thanks for making it avaiable.
Quite nice. One suggestion, though. If you minimize it and then maximize it, there is no longer a gui-wise way to put it back to some custom size. Perhaps there should be an option to leave the resize graphic visible and active when the panel is maximized. Another way might be to have the panel size back to some default size when the maximize (restore in this case) button is clicked again and the previous size was minimized. Just some thoughts.
There’s also FlexMDI (part of FlexLib): http://code.google.com/p/flexmdi/
Still, yours looks neat indeed.
It would be nice if you could submit your SuperPanel to the FlexLib project!
I also replaced the other SuperPanel with this one; this one is much more customizable and cleaner.
Hi
How can I initiate a minimized panel by default… Let’s say for settings and preferences etc.
Any one a suggestion?
The best one I’ve found much simpler that using MDI
Great component…Thanks for providing it for free.. ^_^
Super work man……all the utilities one would expect from a panel!!!
Cheers,
Kapil
Great Work! tnks. RIA powa!
hey.. your Superpanel rocks! thanks man for sharing this.!
One Trackback
[...] Brandon Meyer Ramblings of a code junkie Skip to content About « SuperPanel Component – Updated [...]