StyleWithPadding
Definition
public static partial class DrawGUI
{
public static Scope StyleWithPadding(GUIStyle style, int? left = null, int? right = null, int? top = null, int? bottom = null)
public static Scope StyleWithPadding(this Scope scope, GUIStyle style, int? left = null, int? right = null, int? top = null, int? bottom = null)
private class StyleWithPaddingScope : Scope
}Remarks
Selective Override
Save/Restore Pattern
Quick Lookup
Goal
How
Factory Methods
Standalone
Extension (Chaining)
Parameter
Type
Default
Description
StyleWithPaddingScope (private)
Member
Description
Common Pitfalls
Examples
Extra Content Padding in a Box
Chained with Layout and Margin
See Also
Last updated