Theia: Submenu icon

Created on 16 Jan 2020  路  4Comments  路  Source: eclipse-theia/theia

Add possibility to set an icon for a submenu. Current MenuModelRegistry.registerSubmenu only accept a label.

For example:
Screen Shot 2020-01-16 at 9 13 35 AM
I'd like the Add submenu to have a + green icon.

enhancement help wanted menus

All 4 comments

@Hanksha I don't think active committers will work on it any time soon. An idea will be to add another argument to registerSubmenu, something like SubmenuOptions, which should be optional and it can have different properties in it. Feel free to work on it and send a PR.

@akosyakov Alright, I will do when I get some free time.

Got something working.
Screen Shot 2020-02-06 at 10 24 58 AM
Screen Shot 2020-02-06 at 10 32 57 AM

Was this page helpful?
0 / 5 - 0 ratings