diff --git a/MLEM.Ui/Elements/Group.cs b/MLEM.Ui/Elements/Group.cs index 470a220..1089d20 100644 --- a/MLEM.Ui/Elements/Group.cs +++ b/MLEM.Ui/Elements/Group.cs @@ -3,7 +3,8 @@ using Microsoft.Xna.Framework; namespace MLEM.Ui.Elements { public class Group : Element { - public Group(Anchor anchor, Vector2 size) : base(anchor, size) { + public Group(Anchor anchor, Vector2 size, bool setHeightBasedOnChildren = true) : base(anchor, size) { + this.SetHeightBasedOnChildren = setHeightBasedOnChildren; this.IgnoresMouse = true; }