iced
iced copied to clipboard
Setting a fixed width for a Toggler with text breaks its apperance.
Is there an existing issue for this?
- [X] I have searched the existing issues.
Is this issue related to iced?
- [X] My hardware is compatible and my graphics drivers are up-to-date.
What happened?
Setting the width of a toggler widget to a fixed value breaks the appearance of the widget if and only if it has a text. Specifically, the "slider" becomes very thin.
SSCCE: See the Toggler with fixed width example in my iced playground.
What is the expected behavior?
The toggling part itself should look the same, independent of text and widget width.
Version
crates.io release
Operating System
Linux
Do you have any log output?
No response
The issue is fixed with the current master branch of iced. This bug can be closed with the next release.