mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Improved wording
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
This commit is contained in:
@@ -535,7 +535,7 @@ class Tree(Generic[TreeDataType], ScrollView, can_focus=True):
|
||||
return len(self._tree_lines) - 1
|
||||
|
||||
def process_label(self, label: TextType) -> Text:
|
||||
"""Process a `str` or `Text` value in to a label.
|
||||
"""Process a `str` or `Text` value into a label.
|
||||
|
||||
Maybe overridden in a subclass to change modify how labels are rendered.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user