Add code markup to mention of the Table class

This commit is contained in:
Dave Pearson
2022-10-15 22:02:19 +01:00
parent 3992b1e7d3
commit 799a769f3e

View File

@@ -191,7 +191,7 @@ Let's modify the default width for the fizzbuzz example. By default, the table w
```{.textual path="docs/examples/guide/widgets/fizzbuzz02.py"} ```{.textual path="docs/examples/guide/widgets/fizzbuzz02.py"}
``` ```
Note that we've added `expand=True` to tell the Table to expand beyond the optimal width, so that it fills the 50 characters returned by `get_content_width`. Note that we've added `expand=True` to tell the `Table` to expand beyond the optimal width, so that it fills the 50 characters returned by `get_content_width`.
## Compound widgets ## Compound widgets