Click or drag to resize

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+
Syntax
C#
public static PartDebugAdjustmentDialog MakePartDebugDialog(
	string title,
	Nullable<float> dialogWidth = null,
	Nullable<float> valueColumnWidth = null,
	string group = "",
	Part bindToPart = null
)
Request Example View Source

Parameters

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: PartDebugAdjustmentDialog
The created dialog.
See Also