Fix docs.
This commit is contained in:
parent
e638a9dde4
commit
b9514a08ff
|
@ -40,7 +40,7 @@ the operation of a `WidgetCombinator` during operation. For example>
|
|||
type fWidget struct { l Layout }
|
||||
func NewfWidget(l layout) fWidget { return fWidget{ l: l } }
|
||||
|
||||
func (f Flex) Flexible(v float32) Widget {
|
||||
func Flexible(v float32) Widget {
|
||||
return NewfWidget(func(ctx Context) Context {
|
||||
ctx.extra["Flexible"] = v
|
||||
return ctx
|
||||
|
|
Loading…
Reference in New Issue
Block a user