root: add width and height properties (helps building mobile layouts)
This commit is contained in:
parent
4e8c6f9a17
commit
ca0be309d9
4 changed files with 7 additions and 2 deletions
|
|
@ -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