Function setVerticalAlignment

  • Set the vertical alignment for a widget.


    • widget: Widget

      The widget of interest.

    • value: Layout.VerticalAlignment

      The value for the vertical alignment.


      If the layout height allocated to a widget is larger than its max height, the vertical alignment controls how the widget is placed within the extra vertical space.

      If the allocated height is less than the widget's max height, the vertical alignment has no effect.

      Some layout implementations may ignore vertical alignment.

      Changing the horizontal alignment will post an update-request message to widget's parent, provided the parent has a layout installed.

    Returns void

Generated using TypeDoc