Re: (quick response appreciated): change to box-packing algorithm?

Charles Goodwin <[email protected]> Wed, 07 Apr 2004 07:00:41 +0000
Newsgroups gmane.comp.java.xwt.core
Organization XWT Foundation
Message-ID <[email protected]>
On Wed, 2004-04-07 at 00:00 -0700, Adam Megacz wrote:
> Hey, what do people think of changing the packing algorithm from:
> 
>   "a box will be placed as far up and to the left as it can fit"
> 
> to
> 
>   "a box will be placed as far up and to the left as it can fit and
>    still be no higher above and no farther to the left than its
>    preceeding sibling"

Um, sort of.  At least, I'd note:

Obviously that's not quite right in that a box that is in a later row
but earlier column will be further to the left than a preceeding sibling
in an earlier row but later column.

Also, this is pre-align as well.  (ie not forcing top-left only).

Also, this doesn't apply to non-packed boxes.
-- 
- Charlie

Charles Goodwin <[email protected]>
Online @ http://www.charlietech.com