forked from aparoksha/adwaita-swift
Correct typos
This commit is contained in:
parent
d8de611510
commit
dc41f50c52
@ -69,8 +69,8 @@ struct FormDemo: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var actionRows: Form {
|
var actionRows: View {
|
||||||
.init {
|
Form {
|
||||||
ActionRow("Rows have a title")
|
ActionRow("Rows have a title")
|
||||||
.subtitle(text)
|
.subtitle(text)
|
||||||
ActionRow("Rows can have suffix widgets")
|
ActionRow("Rows can have suffix widgets")
|
||||||
|
|||||||
@ -67,7 +67,7 @@ Properties of the type `GtkWidget` can be used in the following way:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
`GMenuModel` is treated in a similarly:
|
`GMenuModel` is treated similarly:
|
||||||
```swift
|
```swift
|
||||||
var view: Body {
|
var view: Body {
|
||||||
SplitButton()
|
SplitButton()
|
||||||
@ -87,3 +87,4 @@ var view: Body {
|
|||||||
Some properties can be changed by a user action (e.g. toggles).
|
Some properties can be changed by a user action (e.g. toggles).
|
||||||
They expect a binding instead of a "normal" value.
|
They expect a binding instead of a "normal" value.
|
||||||
Compilation error messages will be helpful in spotting those properties.
|
Compilation error messages will be helpful in spotting those properties.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user