Error when trying to use a custom Theme with the text_editor
widget
#2187
Labels
bug
Something isn't working
text_editor
widget
#2187
Is there an existing issue for this?
Is this issue related to iced?
What happened?
Contrary to other widgets, there is a trait bound error when trying to style the
text_editor
widget :SSCCE : the official
editor
example with a custom Theme : https://github.com/0x192/iced/tree/fix/text_editor_style/examples/editor. All other widgets can be styled without issue.I dug into
widget/src/text_editor.rs
andstyle/src/theme.rs
but I didn't find any differences with other widgets that could explain the problem.What is the expected behavior?
No error when using a custom Theme with the widget
Version
master
Operating System
Linux
Do you have any log output?
No response
The text was updated successfully, but these errors were encountered: