diff --git a/MLEM.Ui/Elements/Group.cs b/MLEM.Ui/Elements/Group.cs index ca3a9ad..8035046 100644 --- a/MLEM.Ui/Elements/Group.cs +++ b/MLEM.Ui/Elements/Group.cs @@ -6,6 +6,7 @@ namespace MLEM.Ui.Elements { /// /// A group element to be used inside of a . /// A group is an element that has no rendering or interaction on its own, but that can aid with automatic placement of child elements. + /// If a grouping whose children scroll, and which has a , is desired, a panel with its set to can be used. /// public class Group : Element { diff --git a/MLEM.Ui/Elements/Panel.cs b/MLEM.Ui/Elements/Panel.cs index b3f7903..3300fea 100644 --- a/MLEM.Ui/Elements/Panel.cs +++ b/MLEM.Ui/Elements/Panel.cs @@ -13,6 +13,7 @@ namespace MLEM.Ui.Elements { /// A panel element to be used inside of a . /// The panel is a complex element that displays a box as a background to all of its child elements. /// Additionally, a panel can be set to scroll overflowing elements on construction, which causes all elements that don't fit into the panel to be hidden until scrolled to using a . + /// If an element similar to a , but with scrolling content, is desired, a panel with its set to can be used. /// public class Panel : Element { @@ -24,7 +25,8 @@ namespace MLEM.Ui.Elements { public readonly ScrollBar ScrollBar; /// - /// The texture that this panel should have, or null if it should be invisible. + /// The texture that this panel should have. + /// If this is set to , this panel will not have a texture, but all of its content will still be visible. /// public StyleProp Texture; ///