Make the Python code for dock.md more... Pythonic (#2046)

Fixes #2043.
This commit is contained in:
Dave Pearson
2023-03-14 09:47:51 +00:00
committed by GitHub
parent 98f56aa1f6
commit b9c6520db4

View File

@@ -68,10 +68,10 @@ dock: top; /* Docks on the top edge of the parent container. */
## Python
```python
widget.styles.dock = bottom; # Dock bottom.
widget.styles.dock = left; # Dock left.
widget.styles.dock = right; # Dock right.
widget.styles.dock = top; # Dock top.
widget.styles.dock = "bottom" # Dock bottom.
widget.styles.dock = "left" # Dock left.
widget.styles.dock = "right" # Dock right.
widget.styles.dock = "top" # Dock top.
```
## See also