Preview of Resolution Independent Control library for RevMobile

Monte Goulding monte at sweattechnologies.com
Sat Jul 28 16:49:18 EDT 2012


For layout to play nicely with scaling it will need to place controls relative to each other and window boundaries and not include any reference to physical pixels without multiplying by a scaling factor. So if you want a field to have 3 px padding from the edge of the card you need to use 3 * scale. So I think unfortunately the layout lib would need to be dependent on the scaling lib. It could just be a single global variable though.

Cheers

--
M E R Goulding
Software development services

mergExt - There's an external for that!

On 29/07/2012, at 5:23 AM, Thomas McGrath III <mcgrath3 at mac.com> wrote:

> I agree and would go as far as saying that these must remain separate libraries.They should play well together.




More information about the use-livecode mailing list