Click or drag to resize

StyleBoxSetDefaultMargin Method

Note: This API is now obsolete.

Sets the default value of the specified Margin to given offset in pixels.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
[ObsoleteAttribute("SetDefaultMargin is deprecated. Use the ContentMarginBottom property instead.")]
public void SetDefaultMargin(
	Margin margin,
	float offset
)

Parameters

margin
Type: GodotMargin

[Missing <param name="margin"/> documentation for "M:Godot.StyleBox.SetDefaultMargin(Godot.Margin,System.Single)"]

offset
Type: SystemSingle

[Missing <param name="offset"/> documentation for "M:Godot.StyleBox.SetDefaultMargin(Godot.Margin,System.Single)"]

See Also