stretch

The stretch property specifies how a widget must re-size when the parent container is re-sized.

Usage

This property is typically used with form items that can be re-sized like Image or TextEdit fields. By default such form items have a fixed width and height, but in some cases you may want to force the widget to re-size vertically, horizontally, or in both directions.