Seems like the whole pixel coordinate system achilles heel is showing. Better would be a percentage system, so that theoretically I can set the topleft of a control to a percentage of the hv of the card.
This really should be an engine change, but I suppose a library could be developed for this purpose. I'll have to think about it. Off the top of my head, it would seem to me to be better to start with the smallest res supported as the baseline layout, then scale up. Bob On Jul 28, 2012, at 1:49 PM, Monte Goulding wrote: > 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 <mcgra...@mac.com> wrote: > >> I agree and would go as far as saying that these must remain separate >> libraries.They should play well together. > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode