//resizer 在制定范围之内 调整不同区域的大小
webix.ui({
container:"layout_div",
id:"layout",
height:600,
width:700,
rows:[
{template:"row 1",height:30},
{template:"row 1",minHeight:50},//设置最小高度,限制调整范围
{view:"resizer"},
{template:"row 2",minHeight:30},
{view:"resizer"},
{cols:[
{
id:"a1",
template:"column 1",
width:150,
minWidth:50,//设置最小宽度
maxWidth:250//设置最大宽度
},
{
view:"resizer",
id:"resizer"
},
{ template:"column 2"
},
{
template:"column 3"
}
]
}
]
}).show();
Webix-Layout resizer limit
最新推荐文章于 2023-08-02 18:38:06 发布