-
Hello, i want to be able to change the font-size property at runtime, to do this i use a global property that contains a scale factor value and this value is multiplied with the default font-size.
This works in the preview but not if i compile and run it. build.rs:
Cargo.toml:
Are dynamic font sizes supported with this configuration? Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
We're missing a way to configure font properly. |
Beta Was this translation helpful? Give feedback.
We're missing a way to configure font properly.
Right now this can be done by setting the
SLINT_FONT_SIZES
env variable when buildingFor example:
SLINT_FONT_SIZES=8,11,10,12,13,14,15,16,18,20,22,24,32
(i realize this is not documented)