mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 10:25:37 +00:00
+1
-2
@@ -36,8 +36,7 @@ func (s *Stack) Rigid(gtx *Context, w Widget) StackChild {
|
|||||||
return StackChild{m, dims}
|
return StackChild{m, dims}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Expand lays out a widget with constraints that exactly match
|
// Expand lays out a widget.
|
||||||
// the biggest child previously added.
|
|
||||||
func (s *Stack) Expand(gtx *Context, w Widget) StackChild {
|
func (s *Stack) Expand(gtx *Context, w Widget) StackChild {
|
||||||
var m op.MacroOp
|
var m op.MacroOp
|
||||||
m.Record(gtx.Ops)
|
m.Record(gtx.Ops)
|
||||||
|
|||||||
Reference in New Issue
Block a user