mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +00:00
layout: fix spelling of Alignment
Signed-off-by: Dan Kortschak <dan@kortschak.io>
This commit is contained in:
committed by
Elias Naur
parent
3a94f7bf70
commit
0a91858163
+1
-1
@@ -37,7 +37,7 @@ This example both aligns and insets a child:
|
|||||||
|
|
||||||
inset := layout.Inset{...}
|
inset := layout.Inset{...}
|
||||||
inset.Layout(gtx, func(gtx layout.Context) layout.Dimensions {
|
inset.Layout(gtx, func(gtx layout.Context) layout.Dimensions {
|
||||||
align := layout.Align(...)
|
align := layout.Alignment(...)
|
||||||
return align.Layout(gtx, func(gtx layout.Context) layout.Dimensions {
|
return align.Layout(gtx, func(gtx layout.Context) layout.Dimensions {
|
||||||
return widget.Layout(gtx, ...)
|
return widget.Layout(gtx, ...)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user