diff options
author | crupest <crupest@outlook.com> | 2022-02-10 23:37:38 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-10 23:37:38 +0800 |
commit | 382d42802221941e24e672743d03e7adcb544f94 (patch) | |
tree | cce2a16646c289f66270e61a0b0533764049ceaf /include/cru/ui/render/StackLayoutRenderObject.h | |
parent | f65d0502a9f0fc44be0dd79a5f3f31697bb3aad0 (diff) | |
download | cru-382d42802221941e24e672743d03e7adcb544f94.tar.gz cru-382d42802221941e24e672743d03e7adcb544f94.tar.bz2 cru-382d42802221941e24e672743d03e7adcb544f94.zip |
...
Diffstat (limited to 'include/cru/ui/render/StackLayoutRenderObject.h')
-rw-r--r-- | include/cru/ui/render/StackLayoutRenderObject.h | 5 |
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. // |