mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Events
This commit is contained in:
@@ -10,6 +10,14 @@ The padding rule adds space around the content of a widget. You can specify padd
|
||||
|
||||
Padding may also be set individually by setting `padding-top`, `padding-right`, `padding-bottom`, or `padding-left` to an single value.
|
||||
|
||||
## Syntax
|
||||
|
||||
```
|
||||
padding: <INTEGER>;
|
||||
padding: <INTEGER> <INTEGER>;
|
||||
padding: <INTEGER> <INTEGER> <INTEGER> <INTEGER>;
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
This example adds padding around static text.
|
||||
|
||||
Reference in New Issue
Block a user