Add SetLayout to Container

This commit is contained in:
Sasha Koshka 2024-08-24 14:45:31 -04:00
parent 02516bdcce
commit 7bcb4cf823

View File

@ -49,3 +49,7 @@ func NewInnerContainer (layout tomo.Layout, children ...tomo.Object) *Container
return this
}
// SetLayout sets the layout of the container.
func (this *Container) SetLayout (layout tomo.Layout) {
this.SetAttr(tomo.ALayout(layout))
}