Class ProgressBar
A control used for visual representation of a percentage.
- Inheritance
-
ProgressBar
Remarks
A control used for visual representation of a percentage. Shows fill percentage from right to left.
Properties
editor_preview_indeterminate
If false
, the indeterminate animation will be paused in the editor.
var editor_preview_indeterminate : bool
Property Value
Remarks
fill_mode
The fill direction. See FillMode for possible values.
var fill_mode : int = 0
Property Value
Remarks
indeterminate
When set to true
, the progress bar indicates that something is happening with an animation, but does not show the fill percentage or value.
var indeterminate : bool = false
Property Value
Remarks
show_percentage
If true
, the fill percentage is displayed on the bar.
var show_percentage : bool = true
Property Value
Remarks
font_color
Theme Property
The color of the text.
= ``Color(0.95, 0.95, 0.95, 1)``
Property Value
font_outline_color
Theme Property
The tint of text outline of the ProgressBar.
= ``Color(0, 0, 0, 1)``
Property Value
outline_size
Theme Property
The size of the text outline.
Note: If using a font with multichannel_signed_distance_field enabled, its msdf_pixel_range must be set to at least twice the value of outline_size for outline rendering to look correct. Otherwise, the outline may appear to be cut off earlier than intended.
= ``0``
Property Value
font
Theme Property
Font used to draw the fill percentage if show_percentage is true
.
Font font
Property Value
font_size
Theme Property
Font size used to draw the fill percentage if show_percentage is true
.
int font_size
Property Value
background
Theme Property
The style of the background.
StyleBox background
Property Value
fill
Theme Property
The style of the progress (i.e. the part that fills the bar).
StyleBox fill