panel: tabsPosition can now be hidden
This commit is contained in:
parent
71fc6c3253
commit
8c5eea6bd0
3 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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: [
|
||||
|
|
|
|||
|
|
@ -144,6 +144,10 @@
|
|||
flex-direction: column-reverse;
|
||||
}
|
||||
|
||||
&.tabs-hidden > inner > .navigation {
|
||||
display: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue