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

Commit 494f552

Browse files
committed
Bring back auth header styles
Use default padding settings
1 parent df68478 commit 494f552

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/Misc/Styles.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,6 @@ public static GUIStyle AuthHeaderBoxStyle
578578
{
579579
authHeaderBoxStyle = new GUIStyle(HeaderBoxStyle);
580580
authHeaderBoxStyle.name = "AuthHeaderBoxStyle";
581-
authHeaderBoxStyle.padding = new RectOffset(10, 10, 0, 5);
582581
}
583582
return authHeaderBoxStyle;
584583
}

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,11 @@ private void LoadOwners()
157157

158158
public override void OnGUI()
159159
{
160-
GUILayout.Label("Publish to GitHub", EditorStyles.boldLabel);
160+
GUILayout.BeginHorizontal(Styles.AuthHeaderBoxStyle);
161+
{
162+
GUILayout.Label("Publish to GitHub", EditorStyles.boldLabel);
163+
}
164+
GUILayout.EndHorizontal();
161165

162166
EditorGUI.BeginDisabledGroup(isBusy);
163167
{

0 commit comments

Comments
 (0)