Hello!
How to make form controls vertically center?
my code:
{view:“form”, id:“form4”, width:1024, height:50, elements:[
{type:“clean”, cols:[
{view:“richselect”, id:“xswd1”, label:“xswd1”, labelWidth:80, popup:“xswd_popup_1”},
{view:“datepicker”, id:“jzrq1”, label:“jzrq1”, labelWidth:80, cellHeight:“auto”, weekHeader:true, startOnMonday:false},
{view:“richselect”, id:“gpzl3”, label:“gpzl3”, labelWidth:80, popup:“gpzl_popup_3”},
{view:“button”, type:“form”, id:“count_mrsz”, label:“count_mrsz”, width:150, inputWidth:120, align:“center”, click:“count_mrsz”},
{view:“button”, type:“form”, id:“reset_mrsz”, label:“reset_mrsz”, width:150, inputWidth:120, align:“center”, click:“reset_mrsz”}
]]}
You can add empty views to take free space
{view:"form", id:"form4", width:1024, height:50, elements:[
{},
{type:"clean", cols:[ ... ] }
{}
]}
ok,thanks!