doc: strip layout is cool
This commit is contained in:
parent
4f092af2e0
commit
e1a7af38b1
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ Sessions saved with this version will not be readable with older versions (old s
|
|||
- containers: added `variables` options (arbitrary varibles to pass to children)
|
||||
- panel: added full osc support (for sending/receiving tab changes)
|
||||
- modal: changed style to fit popups' appearance; added `popupWidth` and `popupHeight` options; :warning: removed `tabs` option; added full osc support
|
||||
- strip: refactored widget using `panel` as base; added `stretch` option
|
||||
- strip: refactored widget using `panel` as base; added `stretch` and `spacing` option; now it's really cool
|
||||
- encoder: mousewheel support
|
||||
- session
|
||||
- the root panel is now saved as a special `panel` widget (which means it has savable options)
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ Panels can contains tabs or widgets. These can be absolutely positioned and can
|
|||
|
||||
## Strip
|
||||
|
||||
Unidirectionnal panel with stretching capability.
|
||||
Unidirectionnal panel with stretching capability. By default, children widgets that don't have an explicit `width`/`height` set will be shrinked to respect the sizes specified by others. Adding `flex:1;` to a children's `css` will give it the ability the fill the remaining space. Multiple children can have a `flex:x;` css property (`x` will ponderate their expansion).
|
||||
|
||||
```js
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue