misc: expand prop default value is a boolean
This commit is contained in:
parent
51f2e64968
commit
e56340fd11
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ class Widget extends EventEmitter {
|
|||
]},
|
||||
width: {type: 'number|percentage', value: 'auto', help: 'Widget width'},
|
||||
height: {type: 'number|percentage', value: 'auto', help: 'Widget height'},
|
||||
expand: {type: 'boolean|number', value: 'false', help: 'If parent\'s layout is `vertical` or `horizontal`, set this to `true` to stretch the widget to use available space automatically.'},
|
||||
expand: {type: 'boolean|number', value: false, help: 'If parent\'s layout is `vertical` or `horizontal`, set this to `true` to stretch the widget to use available space automatically.'},
|
||||
},
|
||||
style: {
|
||||
colorText: {type: 'string', value: 'auto', help: 'Text color. Set to "auto" to inherit from parent widget.'},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue