@@ -10,9 +10,9 @@ namespace FbxExporters.EditorTools {
10
10
[ CustomEditor ( typeof ( ExportSettings ) ) ]
11
11
public class ExportSettingsEditor : UnityEditor . Editor {
12
12
Vector2 scrollPos = Vector2 . zero ;
13
- const float LabelWidth = 225 ;
14
- const float SelectableLabelMinWidth = 100 ;
15
- const float BrowseButtonWidth = 55 ;
13
+ const float LabelWidth = 125 ;
14
+ const float SelectableLabelMinWidth = 90 ;
15
+ const float BrowseButtonWidth = 25 ;
16
16
17
17
public override void OnInspectorGUI ( ) {
18
18
ExportSettings exportSettings = ( ExportSettings ) target ;
@@ -29,7 +29,7 @@ public override void OnInspectorGUI() {
29
29
}
30
30
GUILayout . BeginVertical ( ) ;
31
31
exportSettings . mayaCompatibleNames = EditorGUILayout . Toggle (
32
- new GUIContent ( "Convert to Maya Compatible Naming:" ,
32
+ new GUIContent ( "Compatible Naming:" ,
33
33
"In Maya some symbols such as spaces and accents get replaced when importing an FBX " +
34
34
"(e.g. \" foo bar\" becomes \" fooFBXASC032bar\" ). " +
35
35
"On export, convert the names of GameObjects so they are Maya compatible." +
@@ -57,7 +57,7 @@ public override void OnInspectorGUI() {
57
57
GUILayout . MinWidth ( SelectableLabelMinWidth ) ,
58
58
GUILayout . Height ( EditorGUIUtility . singleLineHeight ) ) ;
59
59
60
- if ( GUILayout . Button ( "Browse " , EditorStyles . miniButton , GUILayout . Width ( BrowseButtonWidth ) ) ) {
60
+ if ( GUILayout . Button ( "... " , EditorStyles . miniButton , GUILayout . Width ( BrowseButtonWidth ) ) ) {
61
61
string initialPath = ExportSettings . GetAbsoluteSavePath ( ) ;
62
62
63
63
// if the directory doesn't exist, set it to the default save path
@@ -98,7 +98,7 @@ public override void OnInspectorGUI() {
98
98
var options = ExportSettings . GetDCCOptions ( ) ;
99
99
100
100
exportSettings . selectedDCCApp = EditorGUILayout . Popup ( exportSettings . selectedDCCApp , options ) ;
101
- if ( GUILayout . Button ( "Browse " , EditorStyles . miniButton , GUILayout . Width ( BrowseButtonWidth ) ) ) {
101
+ if ( GUILayout . Button ( "... " , EditorStyles . miniButton , GUILayout . Width ( BrowseButtonWidth ) ) ) {
102
102
var ext = "" ;
103
103
switch ( Application . platform ) {
104
104
case RuntimePlatform . WindowsEditor :
0 commit comments