One challenge when creating a modern-looking canvas app is that we have a mixed usage of classic and modern controls, and you may notice that the text in modern controls appears smaller than in classic controls. To maintain visual consistency, we need to keep the font size consistent across all the app's controls
The difference arises from the unit of font size: modern control uses pixels, while classic control uses points.
Here is the demonstration:
To maintain consistent font sizes across the app, you can declare variables in the App’s Formulas property to store the values:
varFontSizeClassic = 13;
varFontSizeModern = varFontSizeClassic * 0.75;
With these variables, when you add a new modern control, set the font size to varFontSizeModern to ensure the text size matches the default font size (13 points) of classic control.
If you plan to change the font size of classic control, set the font size of the classic control to varFontSizeClassic and update the value in the App's Formulas property.
Happy Coding!