Description
The IsWideMode
property of the ControlWidget
class indicates whether the widget should occupy the full width of the inspector with its label positioned above it. This property is useful for customizing the layout of the control widget within the editor, allowing for a more spacious and organized presentation when set to true
.
Usage
To use the IsWideMode
property, simply access it from an instance of a class that inherits from ControlWidget
. You can set it to true
if you want the widget to expand to the full width of the inspector, or false
to maintain a more compact layout.
Example
// Example of setting the IsWideMode property
// Assuming 'myControlWidget' is an instance of a class derived from ControlWidget
myControlWidget.IsWideMode = true; // This will make the widget use the full width of the inspector
// To revert to a compact layout
myControlWidget.IsWideMode = false;