Resize menu

Hello,
how can I change the menu width on window resizing.
Thank you.

https://snippet.webix.com/nqeo14fe

Hello, @gihnmila
It’s possible to change the menu width on window resizing with customize method. It redefines the “type” property.
To resize items right after init, use ready
By default, webix.ui tends to take the available size of the parent container (in these snippets, it’s document.body).
To have an equal size for each item, use $width method of the parent element to get the width of the whole menu, and then divide the result by the number of items.
Here is the snippet: Code Snippet

Thank you!