forked from joejulian/gio
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