formattedHeight formattedWidth on android

scott at elementarysoftware.com scott at elementarysoftware.com
Mon Sep 21 03:06:03 EDT 2020


Hmm… Well now I can’t reproduce the issue that consumed a fair number of hours yesterday. Which, (with the exception of lost hours) is a very good thing.
—
Scott Morrow

> On Sep 20, 2020, at 7:11 PM, scott--- via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I’ve recently run into what feels like a bug with formattedWidth and formattedHeight of a field in android. I’m attempting to maximize (without clipping) the textSize of a string in a fixed-size field. I have code that works reliably in the IDE and on iOS but not on android. My use case seems to be solvable by first calculating  the amount it is likely to be off and then factoring that in. It seems that there might be some related issues in Bugzilla but I didn’t find anything exactly the same. I’m somewhat new to Android so I always wonder if my stumbles are known limitations that I just can’t find the documentation for.
> 
> --
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web       https://elementarysoftware.com/
> email     scott at elementarysoftware.com
> ------------------------------------------------------
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list