Skip to content

Commit e8f383b

Browse files
author
AJubrey
committed
[ADDED] indentation to match julien's request
1 parent 683b1de commit e8f383b

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public override void OnInspectorGUI() {
2727
GUILayout.Label ("Version: " + version, EditorStyles.centeredGreyMiniLabel);
2828
EditorGUILayout.Space ();
2929
}
30+
EditorGUILayout.LabelField("Export Options", EditorStyles.boldLabel);
31+
EditorGUI.indentLevel++;
3032
GUILayout.BeginVertical();
3133
exportSettings.mayaCompatibleNames = EditorGUILayout.Toggle (
3234
new GUIContent ("Compatible Naming:",
@@ -48,17 +50,20 @@ public override void OnInspectorGUI() {
4850
EditorGUILayout.Space();
4951

5052
GUILayout.BeginHorizontal();
51-
GUILayout.Label(new GUIContent("Export Format:", "Export the FBX file in the standard binary format." +
52-
" Select ASCII to export the FBX file in ASCII format."), GUILayout.Width(LabelWidth - 3));
53+
EditorGUILayout.LabelField(new GUIContent("Export Format:", "Export the FBX file in the standard binary format." +
54+
" Select ASCII to export the FBX file in ASCII format."), GUILayout.Width(LabelWidth - 17));
5355
exportSettings.ExportFormatSelection = EditorGUILayout.Popup(exportSettings.ExportFormatSelection, new string[]{"Binary", "ASCII"});
5456
GUILayout.EndHorizontal();
5557

5658
EditorGUILayout.Space();
59+
EditorGUI.indentLevel--;
60+
EditorGUILayout.LabelField("Integration", EditorStyles.boldLabel);
61+
EditorGUI.indentLevel++;
5762

5863
GUILayout.BeginHorizontal ();
59-
GUILayout.Label (new GUIContent (
64+
EditorGUILayout.LabelField(new GUIContent (
6065
"Export Path:",
61-
"Relative path for saving Model Prefabs."), GUILayout.Width(LabelWidth - 3));
66+
"Relative path for saving Model Prefabs."), GUILayout.Width(LabelWidth - 17));
6267

6368
var pathLabel = ExportSettings.GetRelativeSavePath();
6469
if (pathLabel == ".") { pathLabel = "(Assets root)"; }
@@ -98,9 +103,9 @@ public override void OnInspectorGUI() {
98103
GUILayout.EndHorizontal ();
99104

100105
GUILayout.BeginHorizontal ();
101-
GUILayout.Label (new GUIContent (
106+
EditorGUILayout.LabelField(new GUIContent (
102107
"Integrations Path:",
103-
"Installation path for 3D application integrations."), GUILayout.Width(LabelWidth - 3));
108+
"Installation path for 3D application integrations."), GUILayout.Width(LabelWidth - 17));
104109

105110
var IntegrationsPathLabel = ExportSettings.GetIntegrationSavePath();
106111
EditorGUILayout.SelectableLabel(IntegrationsPathLabel,
@@ -132,9 +137,9 @@ public override void OnInspectorGUI() {
132137
EditorGUILayout.Space ();
133138

134139
GUILayout.BeginHorizontal ();
135-
GUILayout.Label (new GUIContent (
140+
EditorGUILayout.LabelField(new GUIContent (
136141
"3D Application:",
137-
"Select the 3D Application for which you would like to install the Unity integration."), GUILayout.Width(LabelWidth - 3));
142+
"Select the 3D Application for which you would like to install the Unity integration."), GUILayout.Width(LabelWidth - 17));
138143

139144
// dropdown to select Maya version to use
140145
var options = ExportSettings.GetDCCOptions();

0 commit comments

Comments
 (0)