Ember
Loading...
Searching...
No Matches
LayoutConstants.h
Go to the documentation of this file.
1#pragma once
2
3namespace EmberUI {
5namespace Layout {
6
7constexpr int MARGIN = 5;
8constexpr int SPACING = 10;
9constexpr int PADDING = 8;
10constexpr int CONTROL_HEIGHT = 25;
11constexpr int BUTTON_MIN_WIDTH = 80;
12constexpr int BUTTON_HEIGHT = 28;
13constexpr int SPIN_CTRL_WIDTH = 120;
14constexpr int LABEL_WIDTH = 120;
15constexpr int DIALOG_MIN_WIDTH = 400;
16constexpr int DIALOG_MIN_HEIGHT = 300;
17constexpr int STATUS_BAR_FIELD_WIDTH = 150;
18
19} // namespace Layout
20} // namespace EmberUI
Standard layout constants for consistent UI spacing and sizing.
constexpr int DIALOG_MIN_WIDTH
Minimum dialog width.
constexpr int STATUS_BAR_FIELD_WIDTH
Width of status bar fields.
constexpr int PADDING
Internal padding within controls.
constexpr int DIALOG_MIN_HEIGHT
Minimum dialog height.
constexpr int LABEL_WIDTH
Width of label controls.
constexpr int SPIN_CTRL_WIDTH
Width of spin control widgets.
constexpr int BUTTON_HEIGHT
Standard button height.
constexpr int CONTROL_HEIGHT
Default height for standard controls.
constexpr int BUTTON_MIN_WIDTH
Minimum button width.
constexpr int MARGIN
Default margin around controls.
constexpr int SPACING
Spacing between controls.
Definition Panel.h:8