docstrings

This commit is contained in:
Will McGugan
2025-09-28 16:34:03 +01:00
parent aef15a6b86
commit e81138cadd

View File

@@ -874,6 +874,9 @@ class Content(Visual):
) -> list[Content]:
"""Wrap text so that it fits within the given dimensions.
Note that Textual will automatically wrap Content in widgets.
This method is only required if you need some additional processing to lines.
Args:
width: Maximum width of the line (in cells).
align: Alignment of lines.