StyleWithMargin
Definition
public static partial class DrawGUI
{
public static Scope StyleWithMargin(GUIStyle style, int? left = null, int? right = null, int? top = null, int? bottom = null)
public static Scope StyleWithMargin(this Scope scope, GUIStyle style, int? left = null, int? right = null, int? top = null, int? bottom = null)
private class StyleWithMarginScope : Scope
}Remarks
Selective Override
Save/Restore Pattern
Quick Lookup
Goal
How
Factory Methods
Standalone
Extension (Chaining)
Parameter
Type
Default
Description
StyleWithMarginScope (private)
Member
Description
Common Pitfalls
Examples
Adding Indentation via Left Margin
Combining with Layout
See Also
Last updated