You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Shahzad Bhatti <sb...@peak6.com> on 2010/04/27 19:35:39 UTC
Docking/undocking panels
I have two questions on docking/undocking:
* When I define layout using use panels such as BoxPane, TablePane, etc, the layout is fixed. I am looking for a way to undock a panel within my BoxPane or TablePane and undock it so that user can move it outside the parent container. Can someone suggest a way to do it.
* Also, I have some panel with a bunch of tabs and I would like to drag the parent container on the left or top of the screen and automatically change tabs layout to go vertical or horizontal and dock it to the side of the screen that user has selected (similar to how Eclipse IDE works). Is there an easy way to add that feature.
Thanks.
______________________________________________
See http://www.peak6.com/email_disclaimer.php
for terms and conditions related to this email
Re: Docking/undocking panels
Posted by Greg Brown <gk...@mac.com>.
> For the first part, I would like to add some icons on the expander's title bar that user can click to undock or close. For example, in eclipse you can double click tab bar to expand it or click on X to close it. Similarly, in Xcode you can double click a file that shows up as separate frame instead of within main panel. Any suggestions on adding it.
Expander isn't currently meant to be used in this way. However, I imagine that is how the hypothetical new DockPanel component might work. A nested DockPanel.Frame class might provide these features.
> For second part, in eclipse you have tabs panels on left , lower and right side and you can drag the tabs bar towards right, down or left and it moves all tabs along those axis. Any suggestions on adding something like that.
You could probably do this via the existing DnD support, but I imagine that a DockPanel component would probably help here as well.
You are welcome to submit a feature request to add this to a future release. However, I might suggest that, if you need this functionality sooner, you could attempt to build it yourself and, if you are so inclined, submit the result for inclusion in the platform.
Greg
Re: Docking/undocking panels
Posted by Shahzad Bhatti <sb...@peak6.com>.
For the first part, I would like to add some icons on the expander's title bar that user can click to undock or close. For example, in eclipse you can double click tab bar to expand it or click on X to close it. Similarly, in Xcode you can double click a file that shows up as separate frame instead of within main panel. Any suggestions on adding it.
For second part, in eclipse you have tabs panels on left , lower and right side and you can drag the tabs bar towards right, down or left and it moves all tabs along those axis. Any suggestions on adding something like that.
Thanks.
On 4/27/10 12:39 PM, "Greg Brown" <gk...@mac.com> wrote:
> * When I define layout using use panels such as BoxPane, TablePane, etc, the layout is fixed. I am looking for a way to undock a panel within my BoxPane or TablePane and undock it so that user can move it outside the parent container. Can someone suggest a way to do it.
Pivot doesn't currently include a panel that supports docking in this way. However, it is certainly feasible and would be a valuable addition to the platform.
> * Also, I have some panel with a bunch of tabs and I would like to drag the parent container on the left or top of the screen and automatically change tabs layout to go vertical or horizontal and dock it to the side of the screen that user has selected (similar to how Eclipse IDE works). Is there an easy way to add that feature.
I can't picture exactly what you are describing, but it seems like you might be able to use Pivot's drag/drop support for this.
______________________________________________
See http://www.peak6.com/email_disclaimer.php
for terms and conditions related to this email
Re: Docking/undocking panels
Posted by Greg Brown <gk...@mac.com>.
> * When I define layout using use panels such as BoxPane, TablePane, etc, the layout is fixed. I am looking for a way to undock a panel within my BoxPane or TablePane and undock it so that user can move it outside the parent container. Can someone suggest a way to do it.
Pivot doesn't currently include a panel that supports docking in this way. However, it is certainly feasible and would be a valuable addition to the platform.
> * Also, I have some panel with a bunch of tabs and I would like to drag the parent container on the left or top of the screen and automatically change tabs layout to go vertical or horizontal and dock it to the side of the screen that user has selected (similar to how Eclipse IDE works). Is there an easy way to add that feature.
I can't picture exactly what you are describing, but it seems like you might be able to use Pivot's drag/drop support for this.