iced-rs / iced_aw

Additional widgets for the Iced GUI library
MIT License
467 stars 110 forks source link

NumberInput does not play nice with custom icon fonts #293

Open rscarson opened 1 month ago

rscarson commented 1 month ago

A way to set which icon codepoint to use for the chevrons would be needed to fix

genusistimelord commented 1 month ago

number input is not meant to be used with any other font for its buttons other than iced_fonts::REQUIRED_FONT_BYTES as this is statically set to use this. I wont be changing this to accept custom icons. if you want this you will need to make the change.

rscarson commented 1 month ago

number input is not meant to be used with any other font for its buttons other than iced_fonts::REQUIRED_FONT_BYTES as this is statically set to use this. I wont be changing this to accept custom icons. if you want this you will need to make the change.

Which is fine except that there doesn't seem to be a way to specify the icon font if the default is changed in an app