Skip to content

Commit

Permalink
Making controls in the Android Configuration UI resize horizontally
Browse files Browse the repository at this point in the history
  • Loading branch information
davidair committed Feb 16, 2018
1 parent 18a6c79 commit b7211bd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,12 +246,12 @@ public void OnGUI()
mConstantDirectory = EditorGUILayout.TextField(
"Directory to save constants",
mConstantDirectory,
GUILayout.Width(480));
GUILayout.MinWidth(480));

mClassName = EditorGUILayout.TextField(
"Constants class name",
mClassName,
GUILayout.Width(480));
GUILayout.MinWidth(480));

GUILayout.Label("Resources Definition", EditorStyles.boldLabel);
GUILayout.Label("Paste in the Android Resources from the Play Console");
Expand All @@ -260,7 +260,7 @@ public void OnGUI()
scroll = GUILayout.BeginScrollView(scroll);
mConfigData = EditorGUILayout.TextArea(
mConfigData,
GUILayout.Width(475),
GUILayout.MinWidth(475),
GUILayout.Height(Screen.height));
GUILayout.EndScrollView();
GUILayout.Space(10);
Expand All @@ -272,7 +272,7 @@ public void OnGUI()
mWebClientId = EditorGUILayout.TextField(
GPGSStrings.Setup.ClientId,
mWebClientId,
GUILayout.Width(450));
GUILayout.MinWidth(450));

GUILayout.Space(10);

Expand Down

0 comments on commit b7211bd

Please sign in to comment.