Replies: 1 comment 1 reply
-
Perhaps fontMetrics is what you saw? https://docs.slint.dev/latest/docs/slint/reference/elements/text/#font-metrics |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to calculate the width of texts (without displaying them). And then call such a function from Rust to calculate positioning of elements based on text size.
I think I remember seeing a function to calculate dimensions of texts but can't find it in the docs. Is there such?
Beta Was this translation helpful? Give feedback.
All reactions