Re: a step towards solving align

Adam Megacz <[email protected]> Fri, 09 Apr 2004 21:16:50 -0700
Newsgroups gmane.comp.java.xwt.core
Organization XWT
Message-ID <[email protected]>
Yeah, we're now going per-child.

Charles Goodwin <[email protected]> writes:
> Adam, is it me or did you actually do this with unpacked boxes (probably
> accidentally) from the start?
>
> Lines 365/366 of latest Box.java:
>
> child_x = child.ax + (child.test(ALIGN_RIGHT) ?
>                        gap_x : !child.test(ALIGN_LEFT) ? gap_x / 2 : 0);
> child_y = child.ay + (child.test(ALIGN_BOTTOM) ?
>                        gap_y : !child.test(ALIGN_TOP) ? gap_y / 2 : 0);
>
> -- 
> - Charlie
>
> Charles Goodwin <[email protected]>
> Online @ http://www.charlietech.com
>
>
> _______________________________________________
> core mailing list
> [email protected]
> http://lists.xwt.org/listinfo/core
>

-- 
"It's lucky," he added, after a pause, "that there are such a lot of
islands in the world.  I almost envy you, Mr. Watson."

                                                   -- Mustapha Mond