We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Yaegi issue.)
See https://github.com/gioui/gio-example/blob/d6ec266262f41bfc815c4c7bea0f33a2468f9167/kitchen/kitchen.go#L245
widgets := []layout.Widget{ material.H3(th, topLabel).Layout, func(gtx C) D { gtx.Constraints.Max.Y = gtx.Px(unit.Dp(200)) return material.Editor(th, editor, "Hint").Layout(gtx) }, // ...
layout.Widget is type Widget func(gtx Context) Dimensions
layout.Widget
type Widget func(gtx Context) Dimensions
The first Layout might actually work?
The second definitely breaks: Eval error: 40:56: cannot use type as type gioui.org/layout.Widget. Note the type<space><space>as type....
Eval error: 40:56: cannot use type as type gioui.org/layout.Widget
type<space><space>as type...
The text was updated successfully, but these errors were encountered:
theclapp
No branches or pull requests
(Yaegi issue.)
See https://github.com/gioui/gio-example/blob/d6ec266262f41bfc815c4c7bea0f33a2468f9167/kitchen/kitchen.go#L245
layout.Widget
istype Widget func(gtx Context) Dimensions
The first Layout might actually work?
The second definitely breaks:
Eval error: 40:56: cannot use type as type gioui.org/layout.Widget
. Note thetype<space><space>as type...
.The text was updated successfully, but these errors were encountered: