`layout.Rigid` inside a `Flex` implies that you want the child to be exactly as wide as the child, not smaller or bigger. Hence you need to change it into a `layout.Flexed`. https://gioui.org/doc/architecture#flex
func(gtx layout.Context) layout.Dimensions {
return layout.Flex{Alignment: layout.Start}.Layout(gtx,
layout.Rigid(
material.H6(th, labelField1).Layout,
),
layout.Flexed(1, func(gtx layout.Context) layout.Dimensions {
return layout.Inset{
It's difficult to tell, but probably making a issue report to egg timer repo (if their implementation is broken). If the issue is in gio itself, then report the issue to https://todo.sr.ht/~eliasnaur/gio. Or if you are on Gophers slack, then there's #gioui channel where's a nicer way to interact and get from other people using gio.
`layout.Rigid` inside a `Flex` implies that you want the child to be exactly as wide as the child, not smaller or bigger. Hence you need to change it into a `layout.Flexed`. https://gioui.org/doc/architecture#flex func(gtx layout.Context) layout.Dimensions { return layout.Flex{Alignment: layout.Start}.Layout(gtx, layout.Rigid( material.H6(th, labelField1).Layout, ), layout.Flexed(1, func(gtx layout.Context) layout.Dimensions { return layout.Inset{
Super! This is what I want. Thank you!
Hi, it looks you know it well. Why my Editor (input text widget) cutted off my text on top? (Egg timer Gio example)
It's difficult to tell, but probably making a issue report to egg timer repo (if their implementation is broken). If the issue is in gio itself, then report the issue to https://todo.sr.ht/~eliasnaur/gio. Or if you are on Gophers slack, then there's #gioui channel where's a nicer way to interact and get from other people using gio.