iced::widget::Button with an icon instead of text


is there a simple way to use a button with an icon (png or svg) instead of text?

I saw in the examples on iced that you can use some "text symbols" (embedded in a ttf). But this isn't what I want to do. I would like to use symbols offered by the system as in the freedesktop Icon Naming Specification listed.

I appreciate any help. Thank you :slight_smile:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.