Add SetLayout to Container
This commit is contained in:
		
							parent
							
								
									02516bdcce
								
							
						
					
					
						commit
						7bcb4cf823
					
				@ -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))
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user