Skip to content
Snippets Groups Projects
Commit 3ebb1e60 authored by Don Okuda's avatar Don Okuda
Browse files

Add button rectangle

Not sure why the texture isn't loading...
parent af143a1e
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@ namespace GitHub.Unity
GUILayout.EndHorizontal();
// Subtabs & toolbar
GUILayout.BeginHorizontal(EditorStyles.toolbar);
Rect mainNavRect = EditorGUILayout.BeginHorizontal(EditorStyles.toolbar);
{
EditorGUI.BeginChangeCheck();
{
......@@ -201,12 +201,14 @@ namespace GitHub.Unity
}
GUILayout.FlexibleSpace();
dropdownButtonRect = EditorGUILayout.BeginVertical();
GUILayout.Button("•", Styles.AccountDropdownButtonStyle);
GUILayout.EndVertical();
}
GUILayout.EndHorizontal();
EditorGUILayout.EndHorizontal();
Debug.Log("mainNavRect YMax:");
Debug.Log(mainNavRect.xMax);
Rect mainNavButtonRect = new Rect(mainNavRect.xMax - 16, mainNavRect.y, 16, 16);
GUI.DrawTexture(mainNavButtonRect, Styles.DropdownListIcon);
}
private bool ValidateSettings()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment