I was actually thinking that a new BoxPane.Divider class might be a better way 
to go. Separator has a "title" property that would be hard to support in a 
vertical orientation. Divider could simply mirror the orientation of the 
containing box pane.

As you probably also noticed, we don't have a dedicated Toolbar class. Should 
we? It could potentially extend BoxPane, since toolbars generally support both 
vertical and horizontal orientations. ToobarPane could be designed to contain 
Toolbars and support drag/drop.

On Sep 10, 2010, at 6:40 AM, Chris Bartlett wrote:

> A couple of days ago I wanted a vertical separator but was surprised to 
> discover that Separator didn't have an Orientation property, so +1 from me.
> 
> 
> We could also consider creating some classes to help manage toolbars in 
> general.
> 
> Off the top of my head...
> 
> ToolbarPane.Group
> - Probably a subclass of FlowPane but could just delegate to a user supplied 
> Container
> - Used to logically group Components into a 'section'
> - No special layout or painting logic
> 
> ToolbarPane.Toolbar
> - Probably a subclass of FlowPane
> - Buttons & other Components could be added directly, or placed in 
> ToolbarPane.Group objects
> - Skin would paint a vertical separator bar between Components/Groups
> - Skin would paint a drag handle at the far left of the Toolbar
> - Ability to set/unset the 'toolbar' style of all contained PushButtons
> 
> ToolbarPane
> - Possibly a TablePane containing a single Column and one or more Rows 
> containing Panels
> -- ToolbarPane.Toolbar instances would be placed directly into the Panel 
> inside a Row
> - 'editable/moveable/draggable' toolbars property 
> -- Allows ToolbarPane.Toolbar instances to be dragged and placed by the user
> -- Horizontal placement would be unrestricted within the available unused 
> width of a Row
> -- Vertical placement of ToolbarPane.Toolbars would 'snap' betweem TablePane 
> Rows, (and insert/remove Rows as necessary)
> 
> I think this is something I will end up writing anyway, so would be happy to 
> have a crack at it with a view to contributing it to Pivot if there is any 
> interest.
> 
> Regards,
> 
> Chris
> 
> On 10 September 2010 05:57, Roger Whitcomb <[email protected]> 
> wrote:
> Is there a “standard” way to do these little toolbar separator lines (circled 
> in red)?  Or would I have to do a custom component?  Any way a Separator 
> could be used (would have to have a “vertical” orientation or something like 
> that)?
> 
>  
> <image001.png>
> 
>  
> Thanks.
> 
> Roger Whitcomb
> 
> Architect, Engineering
> 
> Ingres Corporation
> 
> [email protected]
> 
>  
> PHONE +1 650.587.5596
> 
> FAX +1 650.587.5550
> 
>  
> www.ingres.com
> 
>  
> This transmission is confidential and intended solely for the use of the 
> recipient named above. It may contain confidential, proprietary, or legally 
> privileged information. If you are not the intended recipient, you are hereby 
> notified that any unauthorized review, use, disclosure or distribution is 
> strictly prohibited. If you have received this transmission in error, please 
> contact the sender by reply e-mail and delete the original transmission and 
> all copies from your system.
> 
>  
> 

Reply via email to