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)?
>
>
>
> [image: cid:[email protected]]
>
>
>
> Thanks.
>
> *Roger Whitcomb*
>
> Architect, Engineering
>
> *Ingres Corporation*
>
> [email protected]
>
>
>
> *PHONE* +1 650.587.5596
>
> *FAX* +1 650.587.5550
>
>
>
> *www.ingres.com* <http://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.
>
>
>

<<image001.png>>

Reply via email to