aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/render/StackLayoutRenderObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/render/StackLayoutRenderObject.h')
-rw-r--r--include/cru/ui/render/StackLayoutRenderObject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cru/ui/render/StackLayoutRenderObject.h b/include/cru/ui/render/StackLayoutRenderObject.h
index 65b81b3d..b522ecbb 100644
--- a/include/cru/ui/render/StackLayoutRenderObject.h
+++ b/include/cru/ui/render/StackLayoutRenderObject.h
@@ -2,6 +2,11 @@
#include "LayoutRenderObject.h"
namespace cru::ui::render {
+struct StackChildLayoutData {
+ std::optional<Alignment> horizontal;
+ std::optional<Alignment> vertical;
+};
+
// Measure Logic:
// Following rules are applied both horizontally and vertically.
//