[Y-devel] Widgets in a canvas

Jacob O'Reilly jacob at ivorytower.ca
Wed Feb 25 00:17:07 GMT 2004


[snip]
> Yeah.. I think having a separate widget that simply creates a small box
for a
> child widget would be the best way to implement this, so it could be used
in
> virtually everything. You could have different methods for sizing it.
>
> Specific size with x/y coordinates, or specify a margin for each side on
the x
> axis as well as the y, or have it centered and be 'width' wide. There's
> several possibilities that could be combined into some sort of placement
> widget that would be nice.
>
> This allows it to be used anywhere, not just in layering.
>

I'm not sure if someone's specifically said it, but it sounds to me like the
simplest way of doing this is to have the LayerLayout implement only an
ordered list of other layouts, each containing their respective controls.
It's not common case that each layer would only contain one control (at
least, that's what I'd guess).

Regards,
Jacob




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved