Files
textual/docs/events/resize.md
Will McGugan 7ba36c1146 docs
2022-07-30 13:03:49 +01:00

24 lines
354 B
Markdown

# Resize
The `Resize` event is sent to a widget when its size changes and when it is first made visible.
- [x] Bubbles
## Parameters
`event.size`
: The new size of the Widget.
`event.virtual_size`
: The virtual size (scrollable area) of the Widget.
`event.container_size`
: The size of the widget's container.
## Code
::: textual.events.Mount