Files
textual/docs/events/resize.md
2022-10-04 17:05:57 +01:00

582 B

Resize

The Resize event is sent to a widget when its size changes and when it is first made visible.

  • Bubbles
  • Verbose

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)

Code

::: textual.events.Resize