MNGuiPanel class ​
No description available
Functions ​
mnscript
MNGuiPanel.DockBottom() - Docks the element to the bottom.
mnscript
MNGuiPanel.DockFill() - Docks the element to fill.
mnscript
MNGuiPanel.DockLeft() - Docks the element to the left.
mnscript
MNGuiPanel.DockRight() - Docks the element to the right.
mnscript
MNGuiPanel.DockTop() - Docks the element to the top.
mnscript
bool MNGuiPanel.GetEnabled() - Returns whether the UI element is enabled.
- Returns whether the UI element is valid.
mnscript
MNGuiPanel.Remove() - Removes the UI element.
mnscript
MNGuiPanel.SetBackgroundColor(Color) - Sets the UI element background color.
mnscript
MNGuiPanel.SetDockMargin(number, number, number, number) - Sets the UI element dock margin.
mnscript
MNGuiPanel.SetEnabled(bool) - Sets whether the UI element is enabled.
- Sets the height of the UI element.
- Sets the position of the UI element.
mnscript
MNGuiPanel.SetRounded(number) - Sets the roundedness.
mnscript
MNGuiPanel.SetScalePos(number, number) - Sets the position of the UI element using a percentage (0-1).
mnscript
MNGuiPanel.SetScaleSize(number, number) - Sets the size of the UI element using a percentage (0-1).
- Sets the width and height of the UI element.
- Sets the width of the UI element.
