diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-10 14:48:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 14:48:44 +0200 |
commit | aee88a7370873a06641e9a8373c42b434187f485 (patch) | |
tree | f1eddc8ea28304464ab52bed14a86377210aaf33 /doc/classes | |
parent | afc49732ba4c53cad156cc942c94f35f481682c4 (diff) | |
parent | f76d417d8a352eecb9ecdd30215e78cbee85246d (diff) |
Merge pull request #46208 from floppyhammer/AddFillModeToProgressBar
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/ProgressBar.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/classes/ProgressBar.xml b/doc/classes/ProgressBar.xml index 1e9ab7c375..8a781c51fb 100644 --- a/doc/classes/ProgressBar.xml +++ b/doc/classes/ProgressBar.xml @@ -9,10 +9,27 @@ <tutorials> </tutorials> <members> + <member name="fill_mode" type="int" setter="set_fill_mode" getter="get_fill_mode" default="0"> + The fill direction. See [enum FillMode] for possible values. + </member> <member name="percent_visible" type="bool" setter="set_percent_visible" getter="is_percent_visible" default="true"> If [code]true[/code], the fill percentage is displayed on the bar. </member> </members> + <constants> + <constant name="FILL_BEGIN_TO_END" value="0" enum="FillMode"> + The progress bar fills from begin to end horizontally, according to the language direction. If [method Control.is_layout_rtl] returns [code]false[/code], it fills from left to right, and if it returns [code]true[/code], it fills from right to left. + </constant> + <constant name="FILL_END_TO_BEGIN" value="1" enum="FillMode"> + The progress bar fills from end to begin horizontally, according to the language direction. If [method Control.is_layout_rtl] returns [code]false[/code], it fills from right to left, and if it returns [code]true[/code], it fills from left to right. + </constant> + <constant name="FILL_TOP_TO_BOTTOM" value="2" enum="FillMode"> + The progress fills from top to bottom. + </constant> + <constant name="FILL_BOTTOM_TO_TOP" value="3" enum="FillMode"> + The progress fills from bottom to top. + </constant> + </constants> <theme_items> <theme_item name="font_color" data_type="color" type="Color" default="Color(0.95, 0.95, 0.95, 1)"> The color of the text. |