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

Commit ae1ccde

Browse files
committed
Set a max height as well
1 parent ac8bd7b commit ae1ccde

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ public override void OnGUI()
3535
{
3636
GUILayout.FlexibleSpace();
3737

38-
GUILayout.Label(Styles.EmptyStateInit);
38+
GUILayout.BeginHorizontal();
39+
{
40+
GUILayout.FlexibleSpace();
41+
GUILayout.Label(Styles.EmptyStateInit, GUILayout.MaxWidth(265), GUILayout.MaxHeight(136));
42+
GUILayout.FlexibleSpace();
43+
}
44+
GUILayout.EndHorizontal();
3945

4046
GUILayout.Label(NoRepoTitle, Styles.BoldCenteredLabel);
4147

0 commit comments

Comments
 (0)