Skip to content

Commit 7c650cc

Browse files
authored
Merge pull request #32 from Seme4eg/main
fix outdated information and typos
2 parents f91fef0 + 576fe8a commit 7c650cc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/content/docs/config/widgets.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ const fixed = Widget.Fixed({
412412

413413
### FlowBox
414414

415-
subclass of [Gtk.FlowBox](https://gjs-docs.gnome.org/gtk30~3.0/gtk.FlowBox)
415+
subclass of [Gtk.FlowBox](https://gjs-docs.gnome.org/gtk30~3.0/gtk.flowbox)
416416

417417
:::note
418418
`Gtk.FlowBox` is not yet subclassed to be declarative and doesn't have
@@ -522,7 +522,7 @@ const discrete = Widget.LevelBar({
522522

523523
### ListBox
524524

525-
subclass of [Gtk.ListBox](https://gjs-docs.gnome.org/gtk30~3.0/gtk.ListBox)
525+
subclass of [Gtk.ListBox](https://gjs-docs.gnome.org/gtk30~3.0/gtk.listbox)
526526

527527
:::note
528528
`Gtk.ListBox` is not yet subclassed to be declarative and doesn't have
@@ -672,7 +672,7 @@ subclass of [Gtk.ScrolledWindow](https://gjs-docs.gnome.org/gtk30~3.0/gtk.scroll
672672
const scrollable = Widget.Scrollable({
673673
hscroll: 'always',
674674
vscroll: 'never',
675-
style: 'min-width: 20px;',
675+
css: 'min-width: 20px;',
676676
child: Widget.Label('Lorem ipsum dolor sit amet, ' +
677677
'officia excepteur ex fugiat reprehenderit enim ' +
678678
'labore culpa sint ad nisi Lorem pariatur mollit'),
@@ -730,12 +730,12 @@ subclass of [Gtk.SpinButton](https://gjs-docs.gnome.org/gtk30~3.0/gtk.spinbutton
730730
|----------|------|
731731
| on-value-changed | `() => void` |
732732
| range | `[min: number, max: number]` |
733-
| incements | `[step: number, page: number]` |
733+
| increments | `[step: number, page: number]` |
734734

735735
```js
736736
const spinbutton = Widget.SpinButton({
737737
range: [0, 100],
738-
incements: [1, 5],
738+
increments: [1, 5],
739739
onValueChanged: ({ value }) => {
740740
print(value)
741741
},

0 commit comments

Comments
 (0)