reckfellENGINE

StyleBoxEmpty

Invisible style retaining content margins.

On this page
class StyleBoxEmptyReckfellSharpInherits StyleBox

Draws nothing but inherits StyleBox padding. Automatic margins resolve to 0; explicit ContentMargin still applies. For example, SetContentMarginAll(6) on a panel style pads PanelContainer by 6 on each side. An empty style does not necessarily mean zero minimum size or remove children.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

StyleBoxEmptyConstructor
# StyleBoxEmpty
C#
public StyleBoxEmpty();

Creates an invisible style with automatic margins resolving to 0. Explicit ContentMargin still contributes to GetMinimumSize and consumer padding.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.