Skip to main content

Variable: AdwSqueezer

const AdwSqueezer: "AdwSqueezer"

Defined in: generated/jsx.ts:19741

A best fit container.

squeezer-wide squeezer-narrow

The AdwSqueezer widget is a container which only shows the first of its children that fits in the available size. It is convenient to offer different widgets to represent the same data with different levels of detail, making the widget seem to squeeze itself to fit in the available space.

Transitions between children can be animated as fades. This can be controlled with Squeezer.transition-type.

CSS nodes

AdwSqueezer has a single CSS node with name squeezer.