A problem with scaling in our UI elements is that their precision is limited to 3 decimal places past the radix point (-3 in proper terms). Any numbers past that are rounded.
E.g 0.5 stays 0.5, while 0.586748 turns into 0.587
When working with large scale auto-generated UI projects, like a mini-map, which has hundreds of these little elements, accuracy is extremely important.
That rounding of 0.586748 to 0.587 can break the entire view when the precision error is applied to every single element.
This is why I thought of instead scaling down the container to some small size (100 pixels for example) and giving all of the children elements are very high scale value. This is because 586.748 has the same accuracy as 0.586748, but it won’t be rounded.
This removes any sort of precision error but concerns me for a different reason: is there a limit to how high these numbers can go?
I don’t want to finish the project only to find out that the scaling solution I used doesn’t work because UI elements don’t work well for scale numbers past 200, for example.
I know that there are many scripters here that have most likely tried similar solutions for cramming lots of tiny elements into a small area without dealing with precision errors, so I’d like to make sure beforehand.