around one or two month ago, my feature about outomatic decrement/increment textsize of calculator textbox so it wont exceed screen or too small to read, it was success with help of label and width auto, i already try it and build the apk, but suddenly it was failed again today (even in the app that i already download), i figured it out (maybe) it because label now automatic multiline when exceed screensize, i dont know if its true or not because i think if theres new update it wont affect builded apk.
or can i make that feature with another algorithm? i know mine looks not efficient.
back then label is not multiline, like textbox but the multiline properties is disabled, then if the text is too much it will go outside screen, the textbox is still same like that
ohh thats what u mean, but im not using fontstyle/fontfamily that the width of all character is the same (i think monochrome or smth), so i cant measure it (default fontfamily)
hmm but the one that i measure is the labelwidth..
so when its automatic width, then if the character inside label so long that it exceed phone screen, then its fontsize get subtracted
if my label width is already set, it will not functionable
so im using the upper one on fonttype because the second fonttype is bad (monospace), if my user press '1' ten times, is different than pressing '×' ten times, label length is measuring number of character
i mean the width is different
1111111111
××××××××××