Re: Thoughts on align

Adam Megacz <[email protected]> Sat, 03 Apr 2004 20:05:00 -0800
Newsgroups gmane.comp.java.xwt.core
Organization XWT
Message-ID <[email protected]>

"mass of the child boxen"?

Now I'm confused.

I agree though that we should move towards
child-controls-its-own-alignment, because this will be hugely useful
for text (edit, html, wysiwyg) widgets.  I'm just not sure how to
resolve all these wierd questions in a way that can be explained
easily in the reference.

  - a


Charles Goodwin <[email protected]> writes:
> On Fri, 2004-04-02 at 21:38 -0800, Adam Megacz wrote:
>> Charles Goodwin <[email protected]> writes:
>> > On the other hand, if boxes determine their own alignment, this all gets
>> > very simple and requires very little intervention in terms of additional
>> > boxes.
>> 
>> Ambiguous
>> 
>>   <box width=30>
>>       <box align=right width=5>
>>       <box align=right width=5>
>>       <box align=left  width=5>
>>   </box>
>> 
>> What should this look like?  Do the two "align right" boxes "push"
>> harder than the align-left box?
>
> No.
>
> I said, "The only case for such intervention would be when the combined
> mass of child boxen is smaller than the parent.  In this case, I say it
> should just be aligned centrally and if one desires different alignment,
> they can wrap the child boxen in a shrunken box whose alignment you can
> adjust."
>
> I don't call that ambiguous. ;)
> -- 
> - 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