From adb27b35fb8a5252a1e19b13df3d8b639a7d68bc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 26 Jul 2024 12:41:43 +0200 Subject: [PATCH] docs: udpate ref --- resources/docs/docs/widgets/properties-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 2f43d5a01..0b30ee3a6 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -708,7 +708,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
css#
| `string` | "" | CSS rules. See documentation.

Some style-related properties can be set or read from css using css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--line-width`: `lineWidth`
- `--border-radius`: `borderRadius`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--alpha-pips`: `alphaPips`
- `--alpha-pips-text`: `alphaPipsText`

Canvas-based widget have their computed width and height available as css variables (read-only):
- `--widget-width`
- `--widget-height` | - |
pointSize#
| `integer` | 20 | Defines the points' size | + |
pointSize#
| `integer` | 20 | Defines the points' size | |
ephemeral#
| `boolean` | false | When set to `true`, the point will be drawn only while touched. | |
pips#
| `boolean` | true | Set to `false` to hide the scale | @@ -760,7 +760,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
css#
| `string` | "" | CSS rules. See documentation.

Some style-related properties can be set or read from css using css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--line-width`: `lineWidth`
- `--border-radius`: `borderRadius`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--alpha-pips`: `alphaPips`
- `--alpha-pips-text`: `alphaPipsText`

Canvas-based widget have their computed width and height available as css variables (read-only):
- `--widget-width`
- `--widget-height` | - |
pointSize#
| `integer` | 20 | Defines the points' size | + |
pointSize#
| `integer` | 20 | Defines the points' size | |
ephemeral#
| `boolean` | false | When set to `true`, the points will be drawn only while touched. | |
pips#
| `boolean` | true | Set to `false` to hide the scale |