Avara3D 0.2.0
C++ API reference
a3d::ui::Panel::Padding Struct Reference

Per-item padding in logical UI units. More...

#include <a3d/ui/Panel.h>

Static Public Member Functions

static Padding Default ()
 Returns zero padding on all sides. More...
 

Public Attributes

float top {0.0f}
 Padding above the item contents. More...
 
float bottom {0.0f}
 Padding below the item contents. More...
 
float left {0.0f}
 Padding to the left of the item contents. More...
 
float right {0.0f}
 Padding to the right of the item contents. More...
 

Detailed Description

Per-item padding in logical UI units.

Definition at line 51 of file Panel.h.

Member Function Documentation

◆ Default()

static Padding a3d::ui::Panel::Padding::Default ( )
inlinestatic

Returns zero padding on all sides.

Definition at line 58 of file Panel.h.

Member Data Documentation

◆ bottom

float a3d::ui::Panel::Padding::bottom {0.0f}

Padding below the item contents.

Definition at line 53 of file Panel.h.

◆ left

float a3d::ui::Panel::Padding::left {0.0f}

Padding to the left of the item contents.

Definition at line 54 of file Panel.h.

◆ right

float a3d::ui::Panel::Padding::right {0.0f}

Padding to the right of the item contents.

Definition at line 55 of file Panel.h.

◆ top

float a3d::ui::Panel::Padding::top {0.0f}

Padding above the item contents.

Definition at line 52 of file Panel.h.


The documentation for this struct was generated from the following file: