Firemonkey 2 (FM²) introduced a new property called StyledSettings in TTextControl which is a set and defaults to ssFamily, ssSize, ssFontColor. TLabel inherits from TTextControl and makes the property published. This is a handy feature, because TLabel now uses the default font family.

If you change the font size ssSize is automatically removed from StyledSettings. But when opening a project created with old Firemonkey 1, ssSize is set regardless if the font size is the default one or not. So if you intentionally changed the font size of a label this change won't be respected im FM² unless you remove ssSize from the Styles.

<Your text here>

The respective author is responsible for articles (snaptips) within this service.

Leave a comment

xYou need to be logged in to leave a comment