On 20/04/2013, at 3:24 AM, Thomas McGrath III <mcgra...@mac.com> wrote:
> -- For Android the mobilePixelDensity() is not a reliable way of scaling > since the Display Metrics returned only report density and not width or > height differences from the original development size and as such doesn't > work correctly when resizing as the scale factor. Since the width or height > is not doubled in most cases and yet MPD can return a 2 on a higher density > device but the widths and heights of those devices may not be doubled etc. Hmm... You need to separate pixel density scaling from layout management. mobilePixelDensity is only about the pixel density and has nothing to do with the aspect ratio. The scaling only needs to happen once at startup but the layout management may need respond to orientation changes etc so resizeStack and preOpenCard... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! _______________________________________________ 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