exyte / fan-menu

Menu with a circular layout based on Macaw
MIT License
728 stars 58 forks source link

i want to add a label next to every button in menu #24

Closed mEldewaik closed 5 years ago

mEldewaik commented 5 years ago

i want to add a label next to every button in menu anyone can help ?

amarunko commented 5 years ago

Hi, @mEldewaik. Fan menu doesn't have this possibility from the box, but you can extend the library and send a pull request. For this functional, you can extend FanMenuButton to include button title and add a new node with Text type during buttons nodes initialization (FanMenu class init).

amarunko commented 5 years ago

You can use https://github.com/exyte/fan-menu/pull/25 as reference.

zapletnev commented 5 years ago

It looks like this issue was closed. Please let me know if you have any questions. Closing for now.