global proc windowDemo() { string $win = `window -t "Demonstration Window" -wh 900 300 -bgc 0.0745215 0.5 0.0575`; frameLayout -collapsable 0 -labelVisible 0 ; rowColumnLayout -nc 2 -cw 1 450 -cw 2 450 -rs 1 50; intSliderGrp -l "First Slider" -f 1 -cw 1 75 -cw 2 50 -min 1 -max 50 -v 25 -fmx 100000; floatSliderGrp -label "Second Slider" -f 1; checkBoxGrp -label "CLICK?" ; colorSliderGrp -label "Colour" -rgb 1 0 0; button -l "Create" -bgc 1 0.045 0.669426; button -l "Close" -bgc 1 0.461533 0; setParent ..; rowColumnLayout -nc 1 -cw 1 900; floatSliderGrp -label "Wide Slider" -f 1; floatSliderGrp -label "Next Wide Slider" -f 1; showWindow $win; } windowDemo
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter