ProgressBar

Inherits: Range < Control < CanvasItem < Node < Object

General-purpose progress bar.

Description

General-purpose progress bar. Shows fill percentage from right to left.

Properties

bool

percent_visible

true

int

size_flags_vertical

0 (parent override)

float

step

0.01 (parent override)

Theme Properties

StyleBox

bg

StyleBox

fg

Font

font

Color

font_color

Color( 0.94, 0.94, 0.94, 1 )

Color

font_color_shadow

Color( 0, 0, 0, 1 )

Property Descriptions

  • bool percent_visible

Default

true

Setter

set_percent_visible(value)

Getter

is_percent_visible()

If true, the fill percentage is displayed on the bar.

Theme Property Descriptions

The style of the background.


The style of the progress (i.e. the part that fills the bar).


Font used to draw the fill percentage if percent_visible is true.


Default

Color( 0.94, 0.94, 0.94, 1 )

The color of the text.


Default

Color( 0, 0, 0, 1 )

The color of the text’s shadow.