Ember
Loading...
Searching...
No Matches
EmberUI::Layout Namespace Reference

Standard layout constants for consistent UI spacing and sizing. More...

Variables

constexpr int MARGIN = 5
 Default margin around controls.
constexpr int SPACING = 10
 Spacing between controls.
constexpr int PADDING = 8
 Internal padding within controls.
constexpr int CONTROL_HEIGHT = 25
 Default height for standard controls.
constexpr int BUTTON_MIN_WIDTH = 80
 Minimum button width.
constexpr int BUTTON_HEIGHT = 28
 Standard button height.
constexpr int SPIN_CTRL_WIDTH = 120
 Width of spin control widgets.
constexpr int LABEL_WIDTH = 120
 Width of label controls.
constexpr int DIALOG_MIN_WIDTH = 400
 Minimum dialog width.
constexpr int DIALOG_MIN_HEIGHT = 300
 Minimum dialog height.
constexpr int STATUS_BAR_FIELD_WIDTH = 150
 Width of status bar fields.

Detailed Description

Standard layout constants for consistent UI spacing and sizing.

Variable Documentation

◆ BUTTON_HEIGHT

int EmberUI::Layout::BUTTON_HEIGHT = 28
constexpr

Standard button height.

Definition at line 12 of file LayoutConstants.h.

◆ BUTTON_MIN_WIDTH

int EmberUI::Layout::BUTTON_MIN_WIDTH = 80
constexpr

Minimum button width.

Definition at line 11 of file LayoutConstants.h.

◆ CONTROL_HEIGHT

int EmberUI::Layout::CONTROL_HEIGHT = 25
constexpr

Default height for standard controls.

Definition at line 10 of file LayoutConstants.h.

◆ DIALOG_MIN_HEIGHT

int EmberUI::Layout::DIALOG_MIN_HEIGHT = 300
constexpr

Minimum dialog height.

Definition at line 16 of file LayoutConstants.h.

◆ DIALOG_MIN_WIDTH

int EmberUI::Layout::DIALOG_MIN_WIDTH = 400
constexpr

Minimum dialog width.

Definition at line 15 of file LayoutConstants.h.

◆ LABEL_WIDTH

int EmberUI::Layout::LABEL_WIDTH = 120
constexpr

Width of label controls.

Definition at line 14 of file LayoutConstants.h.

◆ MARGIN

int EmberUI::Layout::MARGIN = 5
constexpr

Default margin around controls.

Definition at line 7 of file LayoutConstants.h.

◆ PADDING

int EmberUI::Layout::PADDING = 8
constexpr

Internal padding within controls.

Definition at line 9 of file LayoutConstants.h.

◆ SPACING

int EmberUI::Layout::SPACING = 10
constexpr

Spacing between controls.

Definition at line 8 of file LayoutConstants.h.

◆ SPIN_CTRL_WIDTH

int EmberUI::Layout::SPIN_CTRL_WIDTH = 120
constexpr

Width of spin control widgets.

Definition at line 13 of file LayoutConstants.h.

◆ STATUS_BAR_FIELD_WIDTH

int EmberUI::Layout::STATUS_BAR_FIELD_WIDTH = 150
constexpr

Width of status bar fields.

Definition at line 17 of file LayoutConstants.h.