Layout Groups Do Not Take Scale Into Account

I am using the Horizontal Layout Group a lot to keep elements aligned.

However, I am often using a custom Bitmap font, which uses scale to change size instead of the Font Size field. This causes issues with the layout groups, as they do not take scale into account (the layout group still thinks the element is at scale 1 and uses that width).

Is this a bug or is there another way to do this?

I solved this by opening my bitmap font.fontsettings in a text document and setting m_FontSize: from 0 to the max size my font was made at. Now I don’t have to use scale anymore and can use Font Size like a normal font.

Unity does not do this when creating a new font, so keep an eye out for this!