mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
docstrings
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user