From c59d6dfd88884f792de8d8ceb819f4d6a03006a5 Mon Sep 17 00:00:00 2001 From: Ivan Vlasov Date: Thu, 29 Jun 2023 15:36:25 -0400 Subject: [PATCH] Fixing window size --- plugin/adsk/scripts/USDMenuProc.mel | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/adsk/scripts/USDMenuProc.mel b/plugin/adsk/scripts/USDMenuProc.mel index 0d465ba474..aeb9314b67 100644 --- a/plugin/adsk/scripts/USDMenuProc.mel +++ b/plugin/adsk/scripts/USDMenuProc.mel @@ -222,7 +222,7 @@ global proc mayaUsdMenu_EditAsMayaDataOptions(string $obj) $optionsString = `optionVar -query usdMaya_EditAsMayaDataOptions`; } - string $optionsFrame = `frameLayout -collapsable false -labelVisible false -marginHeight 40 -borderVisible false editAsMayaDataOptionsFrame`; + string $optionsFrame = `frameLayout -collapsable false -labelVisible false -marginHeight 10 -borderVisible false editAsMayaDataOptionsFrame`; mayaUsdTranslatorImport ($optionsFrame, "post", $optionsString, "mayaUsdMenu_EditAsMayaDataOptionsCallback"); string $applyCloseBtn = getOptionBoxApplyAndCloseBtn(); @@ -254,6 +254,9 @@ global proc mayaUsdMenu_EditAsMayaDataOptions(string $obj) } showOptionBox(); + + global string $gOptionBox; + window -e -height 260 $gOptionBox; } // On right click in the viewport, either through selection or through a pick