@@ -94,13 +94,13 @@ public override void DrawValue(Rect window, float width)
9494
9595 // always draw x and y
9696 GUILayout . BeginHorizontal ( null ) ;
97- GUILayout . Space ( whitespace ) ;
97+ GUIUnstrip . Space ( whitespace ) ;
9898 GUILayout . Label ( "X:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
9999 x = GUILayout . TextField ( x , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
100100 GUILayout . EndHorizontal ( ) ;
101101
102102 GUILayout . BeginHorizontal ( null ) ;
103- GUILayout . Space ( whitespace ) ;
103+ GUIUnstrip . Space ( whitespace ) ;
104104 GUILayout . Label ( "Y:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
105105 y = GUILayout . TextField ( y , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
106106 GUILayout . EndHorizontal ( ) ;
@@ -109,7 +109,7 @@ public override void DrawValue(Rect window, float width)
109109 {
110110 // draw z
111111 GUILayout . BeginHorizontal ( null ) ;
112- GUILayout . Space ( whitespace ) ;
112+ GUIUnstrip . Space ( whitespace ) ;
113113 GUILayout . Label ( "Z:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
114114 z = GUILayout . TextField ( z , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
115115 GUILayout . EndHorizontal ( ) ;
@@ -118,15 +118,15 @@ public override void DrawValue(Rect window, float width)
118118 {
119119 // draw w
120120 GUILayout . BeginHorizontal ( null ) ;
121- GUILayout . Space ( whitespace ) ;
121+ GUIUnstrip . Space ( whitespace ) ;
122122 GUILayout . Label ( "W:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
123123 w = GUILayout . TextField ( w , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
124124 GUILayout . EndHorizontal ( ) ;
125125 }
126126
127127 // draw set value button
128128 GUILayout . BeginHorizontal ( null ) ;
129- GUILayout . Space ( whitespace ) ;
129+ GUIUnstrip . Space ( whitespace ) ;
130130 if ( GUILayout . Button ( "<color=lime>Apply</color>" , new GUILayoutOption [ ] { GUILayout . Width ( 155 ) } ) )
131131 {
132132 SetValueFromInput ( ) ;
0 commit comments