stretch

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

This property is typically used with form items that can be resized, such as Image or TextEdit fields.

Valid values:
  • None - The widget has a fixed width and height
  • Both - The widget is resized vertically and horizontally.
  • X - The widget is resized horizontally only.
  • Y - The widget is resized vertically only.

For additional information, see the STRETCH attribute topic in the Genero Business Development Language User Guide.

You can specify values specific to @small, @medium, and @large screens. For details about screen-size dependant attributes, see the Layout structure for responsive topic in the Genero Business Development Language User Guide.