Fix docs.

This commit is contained in:
Greg 2019-08-15 23:02:51 -04:00
parent e638a9dde4
commit b9514a08ff

View File

@ -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