How about this?
Code:
window -title "Object Editor" -h 340 -w 570 objE00444;
rowLayout -numberOfColumns 2 -columnWidth2 170 310;
scrollLayout -h 306 -w 170 -backgroundColor 1 1 1;
setParent ..;
setParent ..;
tabLayout;
columnLayout Object;
text -label "Object settings" -w 400 -align "left" -font "boldLabelFont";
separator -h 10 -w 400;
checkBox -label "Convert this object to XML" -value 1;
text -label "" -w 310 -align "left";
checkBox -label "Normal Smoothing" -value 1;
text -label "" -w 310 -align "left";
setParent ..;
columnLayout Materials;
text -label "Material Settings" -w 400 -align "left" -font "boldLabelFont";
separator -h 10 -w 400;
shelfLayout -width 390 -cellWidth 34 -cellHeight 34;
shelfButton -annotation "Diffuse Shader" -image "indigo_diffuce.bmp" -command "diffuce";
shelfButton -annotation "Phong Shader" -image "indigo_phong.bmp" -command "phong";
shelfButton -annotation "Specular Shader" -image "indigo_specular.bmp" -command "specular";
shelfButton -annotation "Mesh Light Shader" -image "indigo_meshLight.bmp" -command "meshlight";
shelfButton -annotation "Metal Shader" -image "indigo_metal.bmp" -command "metal";
setParent ..;
rowLayout -numberOfColumns 2 -columnWidth2 170 230;
text -label "Name Of Material Type" -w 170 -align "left";
textField -w 200;
setParent ..;
colorSliderGrp -h 25 -label "Diffuse" -rgb 0.5 0.5 0.5;
colorSliderGrp -h 25 -label "Specular" -rgb 0 0 0;
floatSliderGrp -h 25 -label "Exponent" -field true
-fieldMinValue -10000 -fieldMaxValue 10000
-minValue 0.001 -maxValue 10000 -value 10000;
separator -h 10 -w 400;
text -label "" -h 20 -align "left";
optionMenu -label "Add Existing Materials";
menuItem -label "?????";
setParent ..;
setParent ..;
showWindow;
Last edited by arneoog; 29-07-2006 at 03:53 PM.