Support for icons on EnumToggleButtons

Issue #892 resolved
Christian Knaapen created an issue

The new 3.1.7 icons on buttons are awesome, but I would love to be able to use them on enums as well. Then you could achieve this without a buttongroup:

A ‘no stretch’ option would be appreciated as well, and a height/size option to make the icons not too small.

This could probably be achieved by putting a [EnumIcon] attribute on each enum member.

Comments (1)

  1. Antonio Rafael Antunes Miranda

    Support for icons on EnumToggleButtons has been added in Odin 3.1.11. This can be accomplished by applying the LabelText attribute to the enum values and using its Icon parameter.

  2. Log in to comment