mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Updating progress bar colors
This commit is contained in:
@@ -16,9 +16,9 @@ from textual.widgets import (
|
||||
Label,
|
||||
ListItem,
|
||||
ListView,
|
||||
LoadingIndicator,
|
||||
MarkdownViewer,
|
||||
OptionList,
|
||||
ProgressBar,
|
||||
RadioSet,
|
||||
RichLog,
|
||||
Select,
|
||||
@@ -267,7 +267,9 @@ class ChangingThemeApp(App[None]):
|
||||
with Collapsible(title="An interesting story."):
|
||||
yield Label("Interesting but verbose story.")
|
||||
|
||||
yield LoadingIndicator()
|
||||
progress = ProgressBar(total=100)
|
||||
progress.advance(70)
|
||||
yield progress
|
||||
|
||||
rich_log = RichLog(highlight=True, markup=True)
|
||||
rich_log.write("Hello, world!")
|
||||
|
||||
Reference in New Issue
Block a user