I try insert subviews dynamicly, all work good.
http://webix.com/snippet/23cbc79f
But height changed after insert views. I need expand layout on all height
Hello,
Layout elements (either rows
or cols
) tend to occupy the whole available space unless some of them has fixed height/width. Then the whole layout will adjust to a fixed-sized part.
In your case the form has a fixed height (its elements have a default height defined by Webix), that’s why layout shrinks.
The solution is to add a spacer {}
as the last form element that will take the rest of the free space: http://webix.com/snippet/e64b8547
Greate! But it’s look like as hack =)