Relational Layouts (was: Re: nuther new newbie nuisance)
bobs at twft.com
Wed Jun 15 15:57:43 CDT 2011
I think someone did this already. They built a geometry manager (which is what Livecode calls what you want to do).
On Jun 15, 2011, at 10:02 AM, Nonsanity wrote:
> As a side note, I designed the UI XML system used for Oblivion and Fallout 3
> (I don't know if Bethesda is still using it for Skyrim), and it used an
> active version of this sort of relational layout. You could set the left of
> an image, for example, to always be the right of another image plus 10. Then
> if the other image moved, so would this one.
> As long as the engine could detect circular references, this made for quite
> a powerful layout engine. I've wanted to duplicate it in LC for some time
> now, and what with delving into the mobile market, I think it would be
> excellent for dealing with many different screen sizes and orientations.
> I still need to work out an simple way to add the new layout behaviors to
> objects that won't get too much in the way for the developer. (Too bad we
> can't have multiple behaviors for an object.)
> And if anyone is interested in details of the XML version, the docs I always
> wanted to write but never did have been wiki-compiled by fans here:
> ~ Chris Innanen
> ~ Nonsanity
> On Wed, Jun 15, 2011 at 12:50 PM, Roger Eller
> <roger.e.eller at sealedair.com>wrote:
>> On Wed, Jun 15, 2011 at 12:47 PM, Roger Eller wrote:
>>> In addition to left/top/right/bottom, there is also loc.
>> and width and height (probably others too).
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode