Font parameterization
-
I'm working to parameterize fonts from an XML file.
Is it possible to change the font size of components used in qml files on the fly without restarting the app? -
@p3c0
Thanks for the pointer.I'm trying the same. However, the app crashes when applying the new pixelSize to a component that is used all over the application. When I change the font family, it works without any problem.
Is it possible to change the Font.pixelSize dynamically?
-
@p3c0
Thanks for the pointer.I'm trying the same. However, the app crashes when applying the new pixelSize to a component that is used all over the application. When I change the font family, it works without any problem.
Is it possible to change the Font.pixelSize dynamically?
-
Is it possible to change the Font.pixelSize dynamically?
Yes. When the binding re-evaluates the font size should change.