mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Events
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
# Offset
|
||||
|
||||
The `offset` rule adds an offset to the widget's position.
|
||||
The `offset` rule adds an offset to the widget's position. The offset is given as two values.
|
||||
|
||||
Coordinates may be specified individually with `offset-x` and `offset-y`.
|
||||
|
||||
## Syntax
|
||||
|
||||
```
|
||||
offset: <SCALAR> <SCALAR>;
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user