From e56340fd11df3a6346d96f5ed3a3faa11f9a32fe Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 28 Dec 2024 12:08:35 +0100 Subject: [PATCH] misc: expand prop default value is a boolean --- src/client/widgets/common/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index f20539fe..8b350fdd 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -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.'},