@@ -94,13 +94,13 @@ public override void DrawValue(Rect window, float width)
94
94
95
95
// always draw x and y
96
96
GUILayout . BeginHorizontal ( null ) ;
97
- GUILayout . Space ( whitespace ) ;
97
+ GUIUnstrip . Space ( whitespace ) ;
98
98
GUILayout . Label ( "X:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
99
99
x = GUILayout . TextField ( x , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
100
100
GUILayout . EndHorizontal ( ) ;
101
101
102
102
GUILayout . BeginHorizontal ( null ) ;
103
- GUILayout . Space ( whitespace ) ;
103
+ GUIUnstrip . Space ( whitespace ) ;
104
104
GUILayout . Label ( "Y:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
105
105
y = GUILayout . TextField ( y , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
106
106
GUILayout . EndHorizontal ( ) ;
@@ -109,7 +109,7 @@ public override void DrawValue(Rect window, float width)
109
109
{
110
110
// draw z
111
111
GUILayout . BeginHorizontal ( null ) ;
112
- GUILayout . Space ( whitespace ) ;
112
+ GUIUnstrip . Space ( whitespace ) ;
113
113
GUILayout . Label ( "Z:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
114
114
z = GUILayout . TextField ( z , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
115
115
GUILayout . EndHorizontal ( ) ;
@@ -118,15 +118,15 @@ public override void DrawValue(Rect window, float width)
118
118
{
119
119
// draw w
120
120
GUILayout . BeginHorizontal ( null ) ;
121
- GUILayout . Space ( whitespace ) ;
121
+ GUIUnstrip . Space ( whitespace ) ;
122
122
GUILayout . Label ( "W:" , new GUILayoutOption [ ] { GUILayout . Width ( 30 ) } ) ;
123
123
w = GUILayout . TextField ( w , new GUILayoutOption [ ] { GUILayout . Width ( 120 ) } ) ;
124
124
GUILayout . EndHorizontal ( ) ;
125
125
}
126
126
127
127
// draw set value button
128
128
GUILayout . BeginHorizontal ( null ) ;
129
- GUILayout . Space ( whitespace ) ;
129
+ GUIUnstrip . Space ( whitespace ) ;
130
130
if ( GUILayout . Button ( "<color=lime>Apply</color>" , new GUILayoutOption [ ] { GUILayout . Width ( 155 ) } ) )
131
131
{
132
132
SetValueFromInput ( ) ;
0 commit comments