The Group element is not enough, because it is only used to add an offset to the x and y attributes of the elements it contains.hmm.. i've had a look @ the panel thing... i reckon we should do away with the group? or perhaps merge the panel w/ the group element, since they're both similiar?
I would have loved to add the Panel functionality to the Group element, but it would have broken backwards compatibility (the behaviour is potentially different for the skins which actually use the Group control).
Since a Panel is not visible, such an attribute would in fact be applied to the contained controls. So you have a work-around consisting in modifying the visible attribute of all these controls directly.anyway... i had a request for the panel thing... perhaps allow the visible attribute for the panel?
Adding the attribute directly to the Panel element would of course be possible, but it would require a rather big code reorganization, and I am not motivated to do so
I don't know what you mean.and for the visible attribute itself... allow for a "dummy" value e.g. dummySet
A Layout is a view on a Window, and it can only appear directly as a sub-element of the Window tag. So you can't use it as you describe.Panels with a visible attribute (you'd have to give the Panels an ID attribute as well) combined with a PanelID.isVisible boolean expression would be a really great idea, but I think that is more what the Layout tag is for?
Also note that having a PanelID.isVisible boolean expression is not needed, unless you want to have other controls visible depending on this value (this might be the case, but I really don't see any need for that).
Unfortunately, this problem is quite hard to understand and fix. Personally, I don't have enough free time these days to investigate it.I'd love to see these enhancements to the panel tag, but I also say the biggest roadblock right now in creating skins is the video problem when changing layouts.