Skip to content

Commit

Permalink
Fixed weird padding for FoldoutAttribute's box
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWalruzz authored Aug 18, 2021
1 parent d683d8c commit 402f4d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Attributes/FoldoutAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ static StyleFramework()
Foldout.onHover.background = uiTex_in_on;

Box = new GUIStyle(GUI.skin.box);
Box.padding = new RectOffset(10, 0, 10, 0);
Box.padding = new RectOffset(15, 0, 5, 5);

BoxChild = new GUIStyle(GUI.skin.box);
BoxChild.active.textColor = c_on;
Expand Down Expand Up @@ -362,4 +362,4 @@ public int GetHashCode(int obj)
}
}
}
#endif
#endif

0 comments on commit 402f4d3

Please sign in to comment.