Different text sizes makes them vertically unaligned #864
Unanswered
Almeida-Oco
asked this question in
Q&A
Replies: 1 comment
-
This might answer your question, its a talk from a different library in a different language, but the point still stands. The video later talks about his solution, but the problem he presents exists in both CSS and Iced. Text can be very weird. Unfortunately you are just going to have to manually align the text. |
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
-
Hello! I found this project rather interesting and decided to try it and play around with it.
I noticed something weird when having text on the same "line" but with different sizes. I tried it on version
0.3.0
with the code:Whether I vertically align the text to the bottom or to the top, the base line of the text is different. In the code above, you can see the "Hello" part is lower than the "World". I was expecting that both texts would have the same bottom/top alignment even with different sizes but that was not the case.
Is there some other way to have this differently sized text in the same line that I missed or is this unintended behavior?
Beta Was this translation helpful? Give feedback.
All reactions