Ui XML VStack - funovus/editor-wiki GitHub Wiki
Table of Contents
- [Ui XML Reference\VStack](#ui-xml-referencevstack)
* [reverse](#reverse)
|
Ui XML Reference\VStack
Stacks children frames vertically. This frame type has a default size of 0 and expands to fit any children.
<VStack spacing="10" padding="10" backgroundImage="frame01_blue">
<Frame height="80" width="80" backgroundImage="cart" />
<Frame height="90" width="90" backgroundImage="cart" />
<Frame height="100" width="100" backgroundImage="cart" />
<Frame height="110" width="110" backgroundImage="cart" />
</VStack>
This XML produces the following UI:
Stacks children frames vertically
Value type: boolean
Supports data binding
The reverse status of the VStack frame, where true
reverses the order in which child frames are added (the last created frame will be the first frame displayed) and false
displays child frames normally
<VStack spacing="10" padding="10" backgroundImage="frame01_blue" reverse="true">
<Frame height="80" width="80" backgroundImage="cart" />
<Frame height="90" width="90" backgroundImage="cart" />
<Frame height="100" width="100" backgroundImage="cart" />
<Frame height="110" width="110" backgroundImage="cart" />
</VStack>