Skip to content

Commit

Permalink
improve UI
Browse files Browse the repository at this point in the history
  • Loading branch information
i-saint committed Jan 15, 2018
1 parent 6eed49d commit d0de740
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -842,25 +842,29 @@ void DrawNormalPainter()

EditorGUILayout.Space();

EditorGUILayout.BeginVertical("Box");
settings.foldEdit = EditorGUILayout.Foldout(settings.foldEdit, "Edit");
if (settings.foldEdit)
DrawEditPanel();
EditorGUILayout.EndVertical();

EditorGUILayout.BeginVertical("Box");
settings.foldMisc = EditorGUILayout.Foldout(settings.foldMisc, "Misc");
if (settings.foldMisc)
DrawMiscPanel();
EditorGUILayout.EndVertical();

EditorGUILayout.Space();

EditorGUILayout.BeginVertical("Box");
settings.foldInExport = EditorGUILayout.Foldout(settings.foldInExport, "Import / Export");
if (settings.foldInExport)
DrawInExportPanel();
EditorGUILayout.EndVertical();

EditorGUILayout.Space();

EditorGUILayout.BeginVertical("Box");
settings.foldDisplay = EditorGUILayout.Foldout(settings.foldDisplay, "Display");
if (settings.foldDisplay)
DrawDisplayPanel();
EditorGUILayout.EndVertical();

if (EditorGUI.EndChangeCheck())
RepaintAllViews();
Expand Down

0 comments on commit d0de740

Please sign in to comment.