[Closed] Why this work while this doesn't
rollout UI_test “test” width: 736 height:736
(label lbl_1 "zero" align:#center label lbl_2 "one" across:2 align:#left checkbox chk_1 "" align:#right enabled:true label lbl_3 "2" across:2 align:#left checkbox chk_2 "" align:#right checked:true label lbl_4 "3" across:2 align:#left checkbox chk_3 "" align:#right checked:true label lbl_5 "4" across:2 align:#left checkbox chk_4 "" align:#right checked:true label lbl_6 "5" across:2 align:#left checkbox chk_5 "" align:#right checked:true
)
createDialog UI_test width:736 height:736
why this does work
rollout UI_test “test” width: 736 height:736
(
(
label lbl_1 “zero” align:#center
label lbl_2 “one” across:2 align:#left
checkbox chk_1 “” align:#right enabled:true checked:true tooltip:“hhh”
label lbl_3 “2” across:2 align:#left
checkbox chk_2 “” align:#right checked:true
label lbl_4 “3” across:2 align:#left
checkbox chk_3 “” align:#right checked:true
label lbl_5 “4” across:2 align:#left
checkbox chk_4 “” align:#right checked:true
label lbl_6 “5” across:2 align:#left
checkbox chk_5 “” align:#right checked:true
))
createDialog UI_test width:736 height:736
while this doesn’t
afaik your ui elements needs to stay on the body of your rollout.
i guess you was doing it to be able to visually collapse the controls in the script
if so try this
rollout UI_test "test" width: 736 height:736
(
------( ----------rollout controls
label lbl_1 "zero" align:#center
label lbl_2 "one" across:2 align:#left
checkbox chk_1 "" align:#right enabled:true checked:true tooltip:"hhh"
label lbl_3 "2" across:2 align:#left
checkbox chk_2 "" align:#right checked:true
label lbl_4 "3" across:2 align:#left
checkbox chk_3 "" align:#right checked:true
label lbl_5 "4" across:2 align:#left
checkbox chk_4 "" align:#right checked:true
label lbl_6 "5" across:2 align:#left
checkbox chk_5 "" align:#right checked:true
------) ----------end rollout controls
)
createDialog UI_test width:736 height:736