On Wednesday, January 29, 2003, at 09:54  PM, J.Pietschmann wrote:

Keiron Liddle wrote:
The only drawback is that it constantly needs to find the child layout manager that applies to a given break...
Well, if there is a min < opt < max, and opt doesn't quite fit,
you have to choose whether to use the wiggle room to the min
or to the max side. This bothers me.
By that I mean using this code all the time:
int start = 0;
if (last != null) {
LM currentchild = last.getChildOf(this);
if (currentchild != null) {
start = childBlocks.indexOf(currentchild);
}
}
It has no relationship to finding a break. It is just finding where a break is when start from last break, adding breaks from last to current break, finding distance from last to current break.


J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to