doc: rewrite references to preivous api to current

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
This commit is contained in:
Wagner Riffel
2020-05-13 06:55:38 -03:00
committed by Elias Naur
parent f29964fee1
commit 4bbc6379ed
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ in an implicit Context to keep the Widget declaration short.
For example, to add space above a widget:
gtx := layout.NewContext(...)
gtx := new(layout.Context)
gtx.Reset(...)
// Configure a top inset.