From 382d42802221941e24e672743d03e7adcb544f94 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 10 Feb 2022 23:37:38 +0800 Subject: ... --- include/cru/ui/render/StackLayoutRenderObject.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/cru/ui/render/StackLayoutRenderObject.h') 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 horizontal; + std::optional vertical; +}; + // Measure Logic: // Following rules are applied both horizontally and vertically. // -- cgit v1.2.3