Prevent fonts and sizes to change on deployment in Qt/Felgo

Fonts in Felgo should use the sp() method for scaling correctly, also the fontSize property should not be set with sp or dp scaling, since it’s already scaled internally using the sp method, so it’s unit is device-independent. This should preserve your font sizes across different platforms.

AppText {
  fontSize: 18 //same as font.pixelSize: sp(18)

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top