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

Color

font_color

Color( 0.94, 0.94, 0.94, 1 )

Color

font_color_shadow

Color( 0, 0, 0, 1 )

Font

font

StyleBox

bg

StyleBox

fg

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

Default

Color( 0.94, 0.94, 0.94, 1 )

The color of the text.


  • Color font_color_shadow

Default

Color( 0, 0, 0, 1 )

The color of the text's shadow.


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


The style of the background.


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