root: add width and height properties (helps building mobile layouts)
This commit is contained in:
parent
5b2ddc7215
commit
2ff26a41dd
4 changed files with 7 additions and 2 deletions
|
|
@ -9,7 +9,8 @@
|
|||
- optimise small changes made with /EDIT
|
||||
|
||||
- widgets
|
||||
- button: add `wrap` and `vertical` properties
|
||||
- button: add `wrap` and `vertical` properties
|
||||
- root: add `width` and `height` properties (helps building mobile layouts)
|
||||
|
||||
## 1.2.0
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class Root extends StaticProperties(Panel, {visible: true, label: false, id: 'ro
|
|||
|
||||
}, [
|
||||
'visible', 'label',
|
||||
'_geometry', 'left', 'top', 'width', 'height', 'expand',
|
||||
'_geometry', 'left', 'top', 'expand',
|
||||
'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff',
|
||||
], {
|
||||
|
||||
|
|
|
|||
|
|
@ -351,4 +351,6 @@ osc-panel-content {
|
|||
|
||||
#osc-container {
|
||||
background: var(--color-background);
|
||||
background: black;
|
||||
overflow: auto;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -226,6 +226,8 @@
|
|||
bottom: 0;
|
||||
}
|
||||
|
||||
margin: auto;
|
||||
|
||||
}
|
||||
|
||||
.root-container.editing {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue