mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Merge pull request #2654 from Textualize/progressbar-docs
Fix progress bar docs issue.
This commit is contained in:
@@ -281,9 +281,6 @@ class ProgressBar(Widget, can_focus=False):
|
||||
|
||||
The percentage is a value between 0 and 1 and the returned value is only
|
||||
`None` if the total progress of the bar hasn't been set yet.
|
||||
In other words, after the progress bar emits the message
|
||||
[`ProgressBar.Started`][textual.widgets.ProgressBar.Started],
|
||||
the value of `percentage` is always not `None`.
|
||||
|
||||
Example:
|
||||
```py
|
||||
|
||||
Reference in New Issue
Block a user