forked from aparoksha/adwaita-swift
Fix typos in widget overview
This commit is contained in:
parent
01dba06482
commit
e5b5459d42
@ -34,8 +34,8 @@ This is an overview of the available widgets and other components in _Adwaita_.
|
|||||||
### View Modifiers
|
### View Modifiers
|
||||||
|
|
||||||
| Syntax | Description |
|
| 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. |
|
| `padding(_:_:)` | Add empty space around a view. |
|
||||||
| `hexpand(_:)` | Enable or disable the horizontal expansion of a view. |
|
| `hexpand(_:)` | Enable or disable the horizontal expansion of a view. |
|
||||||
| `vexpand(_:)` | Enable or disable the vertical expansion of a view. |
|
| `vexpand(_:)` | Enable or disable the vertical expansion of a view. |
|
||||||
@ -43,12 +43,12 @@ This is an overview of the available widgets and other components in _Adwaita_.
|
|||||||
| `valign(_:)` | Set the vertical alignment of a view. |
|
| `valign(_:)` | Set the vertical alignment of a view. |
|
||||||
| `frame(minWidth:minHeight:)` | Set the view’s minimal width or height. |
|
| `frame(minWidth:minHeight:)` | Set the view’s minimal width or height. |
|
||||||
| `frame(maxSize:)` | Set the view’s maximal size. |
|
| `frame(maxSize:)` | Set the view’s maximal size. |
|
||||||
| `transition(_:)` | Assign a transition with the view that is used if it is a direct child of an EitherView.|
|
| `transition(_:)` | Assign a transition with the view that is used if it is a direct child of an EitherView. |
|
||||||
| `onUpdate(_:)` | Run a function every time a view gets updated. |
|
| `onUpdate(_:)` | Run a function every time a view gets updated. |
|
||||||
| `navigationTitle(_:)` | Add a title that is used if the view is a direct child of a NavigationView. |
|
| `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. |
|
| `style(_:)` | Add a style class to the view. |
|
||||||
| `onAppear(_:)` | Run when the view is rendered for the first time. |
|
| `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. |
|
| `topToolbar(visible:_:)` | Add a native toolbar to the view. Normally, it contains a HeaderBar. |
|
||||||
| `bottomToolbar(visible:_:)` | Add a native bottom toolbar to the view. |
|
| `bottomToolbar(visible:_:)` | Add a native bottom toolbar to the view. |
|
||||||
| `modifyContent(_:modify:)` | Replace all occurrences of a certain view type with another view. |
|
| `modifyContent(_:modify:)` | Replace all occurrences of a certain view type with another view. |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user