Resizing a list inside a popup

Hello,

I have a popup menu with a list inside. The list items are populated dynamically.
How can the list be sized according to the size of the items?

I have tried:
popup.resize()
popup.resizeChildren()
list.resize()
list.refresh()

but nothing seems to work…

Thanks, Peter

@peterlechner

Can you provide snippet?

Hi Peter,

You need to set autoheight to your list as nornally windows are sized to the height of their inner components: https://webix.com/snippet/7a20169b