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

Commit b339b34

Browse files
committed
Adjust some spacing for empty state
1 parent 7b7b3e9 commit b339b34

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class InitProjectView : Subview
1010
private const string NoRepoTitle = "To begin using GitHub, initialize a git repository";
1111
private const string NoRepoDescription = "Initialize a Git repository to track changes and collaborate with others.";
1212
private const string NoUserOrEmailError = "Name and Email must be configured in Settings";
13-
13+
1414
[SerializeField] private UserSettingsView userSettingsView = new UserSettingsView();
1515
[SerializeField] private GitPathView gitPathView = new GitPathView();
1616

@@ -52,9 +52,7 @@ public override void OnGUI()
5252
GUILayout.BeginVertical(Styles.GenericBoxStyle);
5353
{
5454
GUILayout.FlexibleSpace();
55-
56-
gitPathView.OnGUI();
57-
userSettingsView.OnGUI();
55+
GUILayout.Space(-140);
5856

5957
GUILayout.BeginHorizontal();
6058
{
@@ -65,6 +63,7 @@ public override void OnGUI()
6563
GUILayout.EndHorizontal();
6664

6765
GUILayout.Label(NoRepoTitle, Styles.BoldCenteredLabel);
66+
EditorGUILayout.Space();
6867

6968
GUILayout.BeginHorizontal();
7069
GUILayout.FlexibleSpace();
@@ -84,6 +83,7 @@ public override void OnGUI()
8483
GUILayout.FlexibleSpace();
8584
GUILayout.EndHorizontal();
8685

86+
EditorGUILayout.Space();
8787
EditorGUILayout.HelpBox("There was an error initializing a repository.", MessageType.Error);
8888

8989
GUILayout.FlexibleSpace();

0 commit comments

Comments
 (0)