The buttons contain different single English characters, yet their sizes vary.
Seikaijyu opened this issue · 2 comments
Seikaijyu commented
Is there an existing issue for this?
- I have searched the existing issues.
Is this issue related to iced?
- My hardware is compatible and my graphics drivers are up-to-date.
What happened?
Using the '+' button will noticeably increase the size compared to using the '-' button. In the example 'examples/counter', change the text to '+' and '-' to see the results.
What is the expected behavior?
The two buttons are the same size.
Version
crates.io release
Operating System
Windows
Do you have any log output?
No response
lufte commented
I say this makes sense. The button expands to fit the text inside of it and, unless you're using a monospaced font, different characters have different lengths.
Seikaijyu commented
Okay, thank you very much for your explanation