mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add a docsrtring for HeaderTitle.sub_text
This commit is contained in:
@@ -91,6 +91,7 @@ class HeaderTitle(Widget):
|
||||
"""The main title text."""
|
||||
|
||||
sub_text = Reactive("")
|
||||
"""The sub-title text."""
|
||||
|
||||
def render(self) -> Text:
|
||||
text = Text(self.text, no_wrap=True, overflow="ellipsis")
|
||||
|
||||
Reference in New Issue
Block a user