uitoolbar pretty cool, contextmenu improvements, allow root containing normal widgets
This commit is contained in:
parent
e530e33900
commit
75be4b7d71
17 changed files with 332 additions and 343 deletions
|
|
@ -20,15 +20,19 @@ class Root extends StaticProperties(Panel, {scroll: false, label: false, id: 'ro
|
|||
|
||||
_panel:'panel',
|
||||
|
||||
colorPanel: {type: 'string', value: 'auto', help:''},
|
||||
layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:''},
|
||||
gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'},
|
||||
traversing: {type: 'boolean', value: false, help: 'Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget'},
|
||||
variables: {type: '*', value: '', help: 'Defines one or more arbitrary variables that can be inherited by children widgets'},
|
||||
|
||||
}, [
|
||||
'label',
|
||||
'_geometry', 'left', 'top', 'width', 'height',
|
||||
'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff', 'padding'
|
||||
'colorFill', 'colorStroke', 'alphaStroke', 'alphaFillOff',
|
||||
], {
|
||||
|
||||
widgets: {type: 'array', value: [], help: 'Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously.'},
|
||||
tabs: {type: 'array', value: [], help: 'Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously'},
|
||||
|
||||
value: {type: 'integer', value: '', help: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue