Add a docsrtring for HeaderTitle.sub_text

This commit is contained in:
Dave Pearson
2023-03-01 10:13:18 +00:00
parent 318e129876
commit d0dedc0fde

View File

@@ -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")