aboutsummaryrefslogtreecommitdiff
path: root/include/gui
diff options
context:
space:
mode:
Diffstat (limited to 'include/gui')
-rw-r--r--include/gui/Widget.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gui/Widget.hpp b/include/gui/Widget.hpp
index 7a04338..5b582da 100644
--- a/include/gui/Widget.hpp
+++ b/include/gui/Widget.hpp
@@ -51,8 +51,8 @@ namespace gsr {
Widget *parent_widget = nullptr;
Widget *selected_child_widget = nullptr;
- Alignment horizontal_aligment;
- Alignment vertical_aligment;
+ Alignment horizontal_aligment = Alignment::START;
+ Alignment vertical_aligment = Alignment::START;
bool visible = true;
};