[WidgetCandy] Transparent window for purpose of nested layout of widgets?

Is there a means in WidgetCandy to have a transparent group or window that could be used in a “Window Manager” type approach to help nest/layout widgets?

Can you the Window widget be used for this? But then:
(a) how to make it transparent
(b) would it be ok re being lightweight? (i.e. images I have a couple of layers of nesting)

Any other tips/ideas…

[import]uid: 140210 topic_id: 28000 reply_id: 328000[/import]

It depends on what you’d like to achieve and it would be easier if you could provide some sample code or a screenshot of what you’d like to achieve. You can use margin properties, for example (rightMargin, leftMargin, bottomMargin etc.) to set a spacing between a widget and the next one. You can also try to set an item’s x-position absolutely while leaving it’s y-position “auto”.

You can arrange widgets inside a window and “hide” this window simply by using a theme where no window parts are drawn into, for example.
[import]uid: 10504 topic_id: 28000 reply_id: 113430[/import]

thanks Mike - your last sentence is the type of thing I was fishing for:


You can arrange widgets inside a window and “hide” this window simply by using a theme where no window parts are drawn into, for example.

So do you mean here to create a new “gfx_widgets.png” file where I would go into photoshop and paint over these images? Would I need to make it transparent where I paint over?

Again I was just looking at the concept of using nested windows to do a layout, and then the widgets themselves would go in the child window. The benefit I was interested was alway then only having to position your widgets (within the lowest nested Window you are working in) via percentage widths that are relative to the widgets immediate parent window (which might be a window nested down below other windows), if this makes sense. [import]uid: 140210 topic_id: 28000 reply_id: 113562[/import]

Using percentage widths should also work for Widgets that are placed within a normal display group as long as the display group has any defined width and height. To define the width and height of a display group, place a transparent rectangle shape within with the display group and set it to the required max width and height. This should enable Widget Candy to calculate percentage widths for Widget placed inside this group then. [import]uid: 10504 topic_id: 28000 reply_id: 113717[/import]