mirror of https://github.com/Textualize/rich.git
Corrected typo in Padding docs.
This commit is contained in:
parent
70fe9dd1f7
commit
32f24fc11f
|
@ -24,4 +24,4 @@ The Padding class can also accept a ``style`` argument which applies a style to
|
||||||
test = Padding("Hello", (2, 4), style="on blue", expand=False)
|
test = Padding("Hello", (2, 4), style="on blue", expand=False)
|
||||||
print(test)
|
print(test)
|
||||||
|
|
||||||
Note that, as with all Rich renderables, you can use Padding any context. For instance, if you want to emphasize an item in a :class:`~rich.table.Table` you could add a Padding object to a row with a padding of 1 and a style of "on red".
|
Note that, as with all Rich renderables, you can use Padding in any context. For instance, if you want to emphasize an item in a :class:`~rich.table.Table` you could add a Padding object to a row with a padding of 1 and a style of "on red".
|
||||||
|
|
Loading…
Reference in New Issue