Files
textual/docs/events/resize.md
Will McGugan 2650dd500d Events
2022-08-17 16:11:12 +01:00

14 lines
537 B
Markdown

# Resize
The `Resize` event is sent to a widget when its size changes and when it is first made visible.
- [x] Bubbles
## Attributes
| attribute | type | purpose |
| ---------------- | ---- | ------------------------------------------------- |
| `size` | Size | The new size of the Widget. |
| `virtual_size` | Size | The virtual size (scrollable area) of the Widget. |
| `container_size` | Size | The size of the container (parent widget). |