strip: spacing: add support for percents (#215)

This commit is contained in:
jean-emmanuel 2018-03-08 07:43:29 +01:00
parent a89f3a5bdc
commit e2a70f507a
4 changed files with 16 additions and 7 deletions

View file

@ -81,9 +81,9 @@ Unidirectionnal panel with stretching capability. By default, children widgets t
- usage: set to `true` to stretch widgets evenly
### `spacing`
- type: `integer`
- type: `integer|percentage`
- default: `0`
- usage: adds space between widgets
- usage: adds space between widgets. Percents are always relative to the strips width.
### `border`
- type: `boolean`