Box
Architecture
Scopes
Scope
Factory Method
Description
Usage
using static Paragon.Editor.DrawGUI;
// Simple box
using (Box())
{
Label("Content");
}
// Labeled box
using (Box("Settings"))
{
Label("Content with a title");
}
// Box with custom header
using (Box())
{
using (BoxHeader())
{
Label("Custom Header", Style.LabelBold);
FlexibleSpace();
if (Button("Reset")) { /* ... */ }
}
Label("Body content");
}See Also
Last updated