grid -size 32;
{ window -title "Grid Size Picker Thingy" -s 0 -tlb 1; formLayout -w 150 -h 150; columnLayout -rs 5 -cal "left" -adj 1 -w 150 -h 150; text -l "Choose size"; separator -st "in" -hr 1 -w 150; radioCollection; radioButton -l "1" -onc ("grid -s 1;"); radioButton -l "8" -onc ("grid -s 8;"); radioButton -l "16" -onc ("grid -s 16;"); radioButton -l "32" -onc ("grid -s 32;"); radioButton -l "64" -onc ("grid -s 64;"); showWindow ; }
grid -d 32;