()
| 3227 | } |
| 3228 | |
| 3229 | func (container *Container) NeedScroll() bool { |
| 3230 | return container.IdealSize().Y > container.Rect.H |
| 3231 | } |
| 3232 | |
| 3233 | // IdealSize returns the ideal size for the container to encompass all its GUI Elements. |
| 3234 | func (container *Container) IdealSize() Vector { |