Skip to content

Commit bfff610

Browse files
committed
visual update
button width changes
1 parent 4b08584 commit bfff610

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Assets/Editor/Editor Windows/ScriptableObjectEditorWindow.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private void OnGUI()
9292
spaceButton = new GUIContent("space", "change space between parameters");
9393
}
9494

95-
if (GUILayout.Button(spaceButton, GUILayout.Width(80)))
95+
if (GUILayout.Button(spaceButton, GUILayout.Width(50)))
9696
{
9797
SetSpace();
9898
}
@@ -107,7 +107,7 @@ private void OnGUI()
107107
orientationButton = new GUIContent("rotate", "change the table orientation");
108108
}
109109

110-
if (GUILayout.Button(orientationButton, GUILayout.Width(80)))
110+
if (GUILayout.Button(orientationButton, GUILayout.Width(50)))
111111
{
112112
if (OrientationVertical)
113113
{
@@ -132,7 +132,7 @@ private void OnGUI()
132132
{
133133
refreshButton = new GUIContent("refresh", "refresh");
134134
}
135-
if (GUILayout.Button(refreshButton, GUILayout.Width(80)))
135+
if (GUILayout.Button(refreshButton, GUILayout.Width(50)))
136136
{
137137
RefreshAll();
138138
}
@@ -147,7 +147,7 @@ private void OnGUI()
147147
{
148148
filtersButton = new GUIContent("filters", "filters");
149149
}
150-
if (GUILayout.Button(filtersButton, GUILayout.Width(80)))
150+
if (GUILayout.Button(filtersButton, GUILayout.Width(50)))
151151
{
152152
Vector2 mousePosition = Event.current.mousePosition;
153153
PopupWindow.Show(new Rect(mousePosition.x, mousePosition.y + 20, 0, 0), new ConfigTypeSelectionPopup(selectedTypes, GroupScriptableObjectsByType, availableTypes));

preview.png

460 Bytes
Loading

0 commit comments

Comments
 (0)