How to style context menu items

Hi,

I know I can use a template to specify custom content for my menu but the font-size + height allocated for each items is not affected when doing this.

What I actually want to do is make the menu more compact by using a smaller font + lesser height/line-height for the items - any ideas?

ui.contextmenu has a similar API to ui.submenu, which instances contain ui.list.

So the font size and colors can be set with the corresponding CSS in submenuConfig, but the height has to be specified with the type property in order to not interrupt sizing:

https://webix.com/snippet/3031c22b

I would never have figured that out! thanks it worked great.

You can also reduce the padding around the item list with
padding:0