mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
layout: update documentation for NewContext
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ in an implicit Context to keep the Widget declaration short.
|
||||
|
||||
For example, to add space above a widget:
|
||||
|
||||
gtx := &layout.Context{...}
|
||||
gtx := layout.NewContext(...)
|
||||
gtx.Reset(...)
|
||||
|
||||
// Configure a top inset.
|
||||
|
||||
Reference in New Issue
Block a user