diff --git a/CHANGELOG.md b/CHANGELOG.md index c3c87e97..13d6ed84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ - sliders/pads: `doubleTap` can now be `"script"`, in which case `onTouch` will be called with `event.type` set to `doubleTap` - xy: add `label` property - multixy: add `padsAttr` property for per-pad customization + - panel: `tabsPosition` can now be `hidden` ## 1.27.5 diff --git a/src/client/widgets/containers/panel.js b/src/client/widgets/containers/panel.js index 73068517..703a6238 100644 --- a/src/client/widgets/containers/panel.js +++ b/src/client/widgets/containers/panel.js @@ -34,7 +34,7 @@ class Panel extends Container() { 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.'}, - tabsPosition: {type: 'string', value: 'top', choices: ['top', 'bottom', 'left', 'right'], help: 'Defines the position of the navigation bar if the panel contains tabs'}, + tabsPosition: {type: 'string', value: 'top', choices: ['top', 'bottom', 'left', 'right', 'hidden'], help: 'Defines the position of the navigation bar if the panel contains tabs'}, }, value: { value: {type: 'integer|array', value: '', help: [ diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index c891e973..5e2f9c21 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -144,6 +144,10 @@ flex-direction: column-reverse; } + &.tabs-hidden > inner > .navigation { + display: none; + } + } }