mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update docs/guide/styles.md
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
This commit is contained in:
@@ -39,7 +39,7 @@ The compose method stores a reference to the widget before yielding it. In the m
|
||||
```{.textual path="docs/examples/guide/styles/widget.py"}
|
||||
```
|
||||
|
||||
Widgets will occupy the full width of the screen and as many lines as required to fit in the vertical direction.
|
||||
Widgets will occupy the full width of their container and as many lines as required to fit in the vertical direction.
|
||||
|
||||
Note how the combined height of the widget is three rows in the terminal. This is because a border adds two rows (and two columns). If you were to remove the line that sets the border style, the widget would occupy a single row.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user