Widget.widthRequest

Get widthRequest property.

  1. int widthRequest [@property getter]
    class Widget
    @property
    int
    widthRequest
    ()
  2. int widthRequest [@property setter]

Return Value

Type: int

Override for width request of the widget.

If this is -1, the natural request will be used.