Refactor layout system and abstract data types to separate definitions and tags

This commit is contained in:
Keavon Chambers
2020-08-02 21:41:01 -07:00
parent 5ffe92fa70
commit 214c1c09ac
9 changed files with 515 additions and 345 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Interactivity is provided by script files which expose reactive variables. As th
The layout engine does a top-down pass through the component tree in order to determine what to render.
Layout is controlled using predefined attributes, such as `width`, `height`, `x-align`, `y-align`, `spacing` or `padding`.
Layout is controlled using predefined attributes, such as `width`, `height`, `x-align`, `y-align`, `gap` or `padding`.
## Component lifetime
+1 -1
View File
@@ -14,7 +14,7 @@
<!-- Footer -->
<row width="100%" height="24px">
<text height="100%" y-align="50%" x-align="0%" x-padding="10px" :color="['mildwhite']" :size="14px">File: 1.8 MB | Memory: 137 MB | Scratch: 0.7/12.3 GB</text>
<text height="100%" y-align="50%" x-align="100%" x-padding="10px" :color="['mildwhite']" :size="14px">🖰 Box Select Objects | [⇧G] Move Selection | [⇧R] Rotate Selection | [⇧S] Scale Selection</text>
<text height="100%" y-align="50%" x-align="100%" x-padding="10px" :color="['mildwhite']" :size="14px">Box Select Objects | [⇧G] Move Selection | [⇧R] Rotate Selection | [⇧S] Scale Selection</text>
</row>
</col>
</window:main>