Re: PATCH: Bug 186

Charles Goodwin <[email protected]>
Newsgroups gmane.comp.java.xwt.general
Message-ID <308906BE5D07D5119285009027D61C5722F64F@NTFPS1>
> Extra functionality should be implemented in an extra way:
> 
> <scrollpane id="s">
> 	<box/><box/></box id="myBox"/>
> </scrollpane>
> 
> $s.west = myWestBox;
> $s.north = myNorthBox;
> 
> That way, things are where you put them.

This is rubbish because...

<template>

	<box id="myWestBox" />
	<box id="myNorthBox" />

	<scrollpane id="s">
		<box />
		<box />
		<box id="myBox" />
	</scrollpane>

	$s.west = myWestBox;
	$s.north = myNorthBox;

</template>

Using your alternative method just shifts the problem elsewhere.  As above.
thisbox[2] != $s, so your box order has simply been compromised elsewhere.
_______________________________________________
http://lists.xwt.org/listinfo/dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.