BorderLabel
BorderLabel
Section titled “BorderLabel”#include <Style.hpp>Represents a label that can be displayed on a border edge of a widget.
Border labels are optional text elements that can be placed on the top or bottom. They can be aligned to any position (start, center, end) and can have their own text decoration and color.
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
std::string | text | The text to display on the border. |
Align | align | Alignment (start, center, end) of the label on the border |
TextDecoration | textDecoration | |
Color | color | Optional text decoration for the label (bold, underline, etc.) |
std::string textThe text to display on the border.
Align align = Align::CenterAlignment (start, center, end) of the label on the border
textDecoration
Section titled “textDecoration”TextDecoration textDecorationColor colorOptional text decoration for the label (bold, underline, etc.)