I was wondering if there was a way to add a premade "Add New Stylebox" button like in the default Godot editor. For example, when you go to "Custom Styles" on a control node, you can select "New Stylebox" or "Load" from a dropdown. If you click "New Stylebox" Stylebox configuration options are injected into the inspector.
Is there a way to re-create this without starting from scratch? For example just
EditorInspectorPlugin.add_custom_property(EditorStyleboxConfig.new())? Otherwise, I will just have the user create the
.tres file elsewhere and load it using the
EditorFileDialog, but this is obviously sub-optimal.