EditorSpinSlider

Inherits: Range < Control < CanvasItem < Node < Object

Godot editor's control for editing numeric values.

Description

This Control node is used in the editor's Inspector dock to allow editing of numeric values. Can be used with EditorInspectorPlugin to recreate the same behavior.

Properties

bool

flat

false

FocusMode

focus_mode

2 (parent override)

String

label

""

bool

read_only

false

String

suffix

""

Property Descriptions

Default

false

Setter

set_flat(value)

Getter

is_flat()


Default

""

Setter

set_label(value)

Getter

get_label()


Default

false

Setter

set_read_only(value)

Getter

is_read_only()


Default

""

Setter

set_suffix(value)

Getter

get_suffix()

The suffix to display after the value (in a faded color). This should generally be a plural word. You may have to use an abbreviation if the suffix is too long to be displayed.