Hello, I’m trying to get a Webix layout to resize automatically when its container resizes. Please see code below that does not currently work. How can I adjust it to get the layout to resize vertically when the window resizes?
`
DesignerHello, I’m trying to get a Webix layout to resize automatically when its container resizes. Please see code below that does not currently work. How can I adjust it to get the layout to resize vertically when the window resizes?
`
DesignerHello @velocitytoo ,
Is uncommenting the code below the only way to get the ‘layout’ to resize with the window?
Yes, it is the only correct way in case of using container
for the Webix UI. It provides the strict (initial) size and we do not add a default handler which triggers the UI resize. But if Webix layout is built without a specific container (in such case, UI will be initialized directly on body
), it is adjusted automatically to the screen width.