umi icon indicating copy to clipboard operation
umi copied to clipboard

Wrong aspect ration

Open tibettokitsune opened this issue 5 months ago • 1 comments

During development, I encountered a small issue. In the setup phase, the configuration calculates the font size based on the aspect ratio, which depends on the rectangle's height. This means that to get the correct font size, the input must have only one line with a precise height (for example, using a content size filter with the preferred mode). Could you add a SetFontSize method similar to how background/rectangle setup works at runtime?

tibettokitsune avatar Jul 21 '25 21:07 tibettokitsune

I'll add set font size method to override calculated size.

mopsicus avatar Jul 22 '25 13:07 mopsicus