diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index f9fab9ec..bb0c382d 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -212,7 +212,7 @@ |
"auto" | Panel background color. Set to "auto" to inherit from parent widget. |
| "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | "" | If `layout` is `grid`, can be either a number of columns or a valid value for the css property "grid-template". |
| true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. |
| true | Set to `false` to disable scrollbars |
| true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
@@ -259,7 +259,7 @@
| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
| "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | "" | If `layout` is `grid`, can be either a number of columns or a valid value for the css property "grid-template". |
| true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. |
| true | Set to `false` to disable scrollbars |
| true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
@@ -318,7 +318,7 @@
| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
| "horizontal" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | "" | If `layout` is `grid`, can be either a number of columns or a valid value for the css property "grid-template". |
| true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. |
| true | Set to `false` to disable scrollbars |
| true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
@@ -395,7 +395,7 @@
| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
| "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | "" | If `layout` is `grid`, can be either a number of columns or a valid value for the css property "grid-template". |
| true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. |
| true | Set to `false` to disable scrollbars |
| true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
@@ -431,7 +431,7 @@
| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
| "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
+ | "" | If `layout` is `grid`, can be either a number of columns or a valid value for the css property "grid-template". |
| true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. |
| true | Set to `false` to disable scrollbars |
| true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js
index c502b62e..da983dd2 100644
--- a/src/client/widgets/containers/panel.js
+++ b/src/client/widgets/containers/panel.js
@@ -28,7 +28,7 @@ class Panel extends Container() {
colorBg: {type: 'string', value: 'auto', help: 'Panel background color. Set to "auto" to inherit from parent widget.'},
layout: {type: 'string', value: 'default', choices: ['default', 'vertical', 'horizontal', 'grid'], help:'Defines how children are laid out.'},
justify: {type: 'string', value: 'start', choices: ['start', 'end', 'center', 'space-around', 'space-between'], help:'If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.'},
- gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns of a value css grid-template definition.'},
+ gridTemplate: {type: 'string|number', value: '', help:'If `layout` is `grid`, can be either a number of columns or a valid value for the css property "grid-template".'},
contain: {type: 'boolean', value: true, help:'If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel.'},
scroll: {type: 'boolean', value: true, help: 'Set to `false` to disable scrollbars'},
innerPadding: {type : 'boolean', value: true, help: 'Set to `false` to make the `padding` property apply only between children and not at the container\'s inner boundaries.'},