commit 177fec4f31d32524db36f3236b1c5875330af35b
parent 54f17a7de8dc3b5749cedeea87d58cd7cb4a38fc
Author: Manuel Geissbühler <manuel@debian>
Date: Sat, 28 Dec 2024 09:45:34 +0100
testing
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/gui/screen.hpp b/src/gui/screen.hpp
@@ -4,6 +4,7 @@
#include <cstdint>
#include <src/core/lv_obj.h>
#include <src/core/lv_obj_pos.h>
+#include <src/core/lv_obj_style.h>
#include <src/core/lv_obj_style_gen.h>
#include <src/layouts/flex/lv_flex.h>
#include <src/layouts/grid/lv_grid.h>
@@ -90,6 +91,8 @@ class Screen {
lv_style_set_layout(&buttonsContainerStyle, LV_LAYOUT_FLEX);
lv_style_set_pad_column(&buttonsContainerStyle, 0);
+ lv_obj_add_style(buttonsContainer, &buttonsContainerStyle, 0);
+
//lv_obj_set_layout(buttonsContainer, LV_LAYOUT_FLEX);
//lv_obj_set_flex_flow(buttonsContainer, LV_FLEX_FLOW_COLUMN_REVERSE);
//lv_obj_set_flex_align(buttonsContainer, LV_FLEX_ALIGN_END, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN_SPACE_EVENLY);