-
-
Notifications
You must be signed in to change notification settings - Fork 4
Layout
Rina edited this page Oct 21, 2023
·
1 revision
Here you will read these main topics:
- Fundamentals
- Docking
- Widgets
The layout mask or docking system, is an internal feature of the layout service, A layout mask is a mask of positions between rectangles of a widget. The purpose of having a layout mask is to make flexible widgets.
The acceptable docking positions are: center, left, right, top, bottom
Each docking direction has it is own behavior.
All widgets use the layout mask feature, normally you can set set_*_align
.
e.g. button widget align method:
p_button->set_text_align(ekg::dock::center);