Fix typos in widget overview

This commit is contained in:
david-swift 2024-01-08 06:16:52 +01:00 committed by GitHub
parent 01dba06482
commit e5b5459d42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,8 +34,8 @@ This is an overview of the available widgets and other components in _Adwaita_.
### View Modifiers
| Syntax | Description |
| --------------------------------- | --------------------------------------------------------------------------------------- |
| `inspect(_:)` | Edit the underlying [Libadwaita][10] widget. |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `inspect(_:)` | Edit the underlying [Libadwaita](https://github.com/AparokshaUI/Libadwaita) widget. |
| `padding(_:_:)` | Add empty space around a view. |
| `hexpand(_:)` | Enable or disable the horizontal expansion of a view. |
| `vexpand(_:)` | Enable or disable the vertical expansion of a view. |
@ -48,7 +48,7 @@ This is an overview of the available widgets and other components in _Adwaita_.
| `navigationTitle(_:)` | Add a title that is used if the view is a direct child of a NavigationView. |
| `style(_:)` | Add a style class to the view. |
| `onAppear(_:)` | Run when the view is rendered for the first time. |
| `inspectOnAppear(_:)` | Edit the underlying [Libadwaita][10] class when the view is rendered for the first time.|
| `inspectOnAppear(_:)` | Edit the underlying [Libadwaita](https://github.com/AparokshaUI/Libadwaita) class when the view is rendered for the first time.|
| `topToolbar(visible:_:)` | Add a native toolbar to the view. Normally, it contains a HeaderBar. |
| `bottomToolbar(visible:_:)` | Add a native bottom toolbar to the view. |
| `modifyContent(_:modify:)` | Replace all occurrences of a certain view type with another view. |