Skip to content

Commit

Permalink
revert vertical prop doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Seme4eg committed May 14, 2024
1 parent 62424e4 commit 576fe8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/content/docs/config/widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,7 @@ subclass of [Gtk.Scale](https://gjs-docs.gnome.org/gtk30~3.0/gtk.scale)

| Property | Type | Description |
|----------|------|-------------|
| vertical | `bool` | Setting `vertical: true` is the same as `orientation: 1` |
| value | `number` | |
| min | `number` | |
| max | `number` | |
Expand All @@ -708,6 +709,7 @@ subclass of [Gtk.Scale](https://gjs-docs.gnome.org/gtk30~3.0/gtk.scale)
```js
Widget.Slider({
onChange: ({ value }) => print(value),
vertical: true,
value: 0,
min: 0,
max: 1,
Expand Down

0 comments on commit 576fe8a

Please sign in to comment.