Re: PATCH: Bug 186
David Crawshaw <[email protected]>
| Newsgroups | gmane.comp.java.xwt.general |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, April 1, 2003, at 09:15 PM, Adam Megacz wrote:
> No need to use boxes as the container....
>
> // $container has a _children trap
> $container.children = { north: $foo, south: $bar, ... }
This simplifies things, but how does this deal with the situation where
the parent is trying to extract boxes from its children, a la:
<scrollpane>
<table/>
</scrollpane>
Where you want to get the table headers into the single-axis slaves of
the scrollpane?
Are you saying you could have a children variable set in the child, and
the parent could read it? This would definitely cut down the variable
count, and if we're careful with the naming of entries in children, can
be compatible across the widget library.
Sounds like more pros than cons. I'm up for it.
d
_______________________________________________
http://lists.xwt.org/listinfo/dev