Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit a1ec31c

Browse files
Design changes
Co-authored-by: Don Okuda <don.okuda@gmail.com>
1 parent 299890b commit a1ec31c

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/FileHistoryWindow.cs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -225,19 +225,22 @@ private void DoHeaderGUI()
225225
var iconHeight = 32;
226226

227227
GUILayout.Label(selectedIcon, GUILayout.Height(iconWidth), GUILayout.Width(iconHeight));
228-
229-
GUILayout.Label(selectedObjectAssetPath, Styles.FileHistoryLogTitleStyle);
230-
231-
GUILayout.FlexibleSpace();
228+
GUILayout.Space(16);
232229

233230
GUILayout.BeginVertical();
234231
{
235-
GUILayout.Space(16);
232+
GUILayout.Label(selectedObjectAssetPath, Styles.FileHistoryLogTitleStyle);
236233

237-
if (GUILayout.Button("Show in Project"))
234+
GUILayout.BeginHorizontal();
238235
{
239-
EditorGUIUtility.PingObject(selectedObject);
236+
GUILayout.FlexibleSpace();
237+
238+
if (GUILayout.Button("Show in Project"))
239+
{
240+
EditorGUIUtility.PingObject(selectedObject);
241+
}
240242
}
243+
GUILayout.EndHorizontal();
241244
}
242245
GUILayout.EndVertical();
243246
}

0 commit comments

Comments
 (0)