DebugGuiMakePartDebugDialog Method |
Creates a debug dialog for the parts.
Namespace:
KSPDev.DebugUtils
Assembly:
KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntaxpublic static PartDebugAdjustmentDialog MakePartDebugDialog(
string title,
Nullable<float> dialogWidth = null,
Nullable<float> valueColumnWidth = null,
string group = "",
Part bindToPart = null
)
Request Example
View SourceParameters
- title
- Type: SystemString
The titile of the dialog. - dialogWidth (Optional)
- Type: SystemNullableSingle
The width of the dialog. If omitted, then the code will decide.
- valueColumnWidth (Optional)
- Type: SystemNullableSingle
The width of the value changing controls. If omitted, then the code will decide.
- group (Optional)
- Type: SystemString
The group of the controls to present. If empty, then all the controls are shown.
- bindToPart (Optional)
- Type: (Default Namespace)Part
The fixed part to attach the dialog to. The dialog won't allow changing the part.
Return Value
Type:
PartDebugAdjustmentDialogThe created dialog.
See Also