menu: change default layout to vertical
This commit is contained in:
parent
781a1b1d14
commit
12f6253de7
2 changed files with 3 additions and 2 deletions
|
|
@ -11,6 +11,7 @@
|
|||
- canvas: added `contextType` property
|
||||
- file: honor server's `remote-root` option (remove root path from displayed path and returned value)
|
||||
- matrix: if `scroll` is `true`, children's values no longer feed the matrix' value and onValue script, it will be used for scrolling state, like with panels
|
||||
- menu: changed default `layout` to `vertical`
|
||||
|
||||
- scripting
|
||||
- user scripts are longer protected against infinite loop and the main window object may be reached (it's not supported to break out of scripting context, but resources are no longer wasted to prevent it)
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@ class Menu extends MenuBase {
|
|||
textAlign: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change text alignment (otherwise center)'},
|
||||
menuAlignV: {type: 'string', value: 'center', choices: ['center', 'top', 'bottom'], help: 'Set to `top` or `bottom` to change menu alignment (otherwise center)'},
|
||||
menuAlignH: {type: 'string', value: 'center', choices: ['center', 'left', 'right'], help: 'Set to `left` or `right` to change menu alignment (otherwise center)'},
|
||||
layout: {type: 'string', value: 'circular', choices: ['circular', 'horizontal', 'vertical', 'grid'], help: [
|
||||
'Defines whether the menu\'s layout should be rendered in a circle or in a box'
|
||||
layout: {type: 'string', value: 'vertical', choices: ['circular', 'horizontal', 'vertical', 'grid'], help: [
|
||||
'Defines how the menu\'s item are laid out'
|
||||
]},
|
||||
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".'},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue