egui_plot::item::Text --> how to define the font-size? #4470
Unanswered
jjimenezroda
asked this question in
Q&A
Replies: 1 comment
-
Put the string in a RichText, then you can set the size, color, font etc. See also #3277, which I think is what you are trying to do. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm plotting some text to some egui_plot using the following code snippet
Does anyone know how can I set the font_size of the text? I would like to change it based on the zoom factor of the plot itself.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions