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

Commit c673100

Browse files
committed
🔥 Fancy layout
1 parent 6cd68a7 commit c673100

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

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

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -142,33 +142,10 @@ public override void OnGUI()
142142
{
143143
EditorGUI.BeginDisabledGroup(isBusy);
144144
{
145-
GUILayout.BeginHorizontal();
146-
{
147-
GUILayout.BeginVertical();
148-
{
149-
GUILayout.Label(SelectedOwnerLabel);
150-
selectedOwner = EditorGUILayout.Popup(selectedOwner, owners);
151-
}
152-
GUILayout.EndVertical();
153-
154-
GUILayout.BeginVertical(GUILayout.Width(8));
155-
{
156-
GUILayout.Space(20);
157-
GUILayout.Label("/");
158-
}
159-
GUILayout.EndVertical();
160-
161-
GUILayout.BeginVertical();
162-
{
163-
GUILayout.Label(RepositoryNameLabel);
164-
repoName = EditorGUILayout.TextField(repoName);
165-
}
166-
GUILayout.EndVertical();
167-
}
168-
GUILayout.EndHorizontal();
145+
selectedOwner = EditorGUILayout.Popup(SelectedOwnerLabel, selectedOwner, owners);
146+
repoName = EditorGUILayout.TextField(RepositoryNameLabel, repoName);
147+
repoDescription = EditorGUILayout.TextField(DescriptionLabel, repoDescription);
169148

170-
GUILayout.Label(DescriptionLabel);
171-
repoDescription = EditorGUILayout.TextField(repoDescription);
172149
GUILayout.Space(Styles.PublishViewSpacingHeight);
173150

174151
GUILayout.BeginVertical();

0 commit comments

Comments
 (0)