Class ElemResizer

Resizer control.

class ElemResizer
  : Element

Put it between other items in a panel with row or column layout kind to enable resizing of its siblings. While dragging, it will resize previous and next children in the layout.

Also it can be utilized per se, by connecting to onResize signal.

Constructors

NameDescription
this (orient)

Fields

TypeNameDescription
Signal!(...)
onResize

11 inherited fields

Properties

TypeNameDescription
int
delta[get] Resizer offset from initial position
orientation[get]

35 inherited properties

Methods

NameDescription
getCursorType (x, y) Returns mouse cursor type for the element
handleMouseEvent (event) Process mouse event; return true if event is processed by widget.

52 inherited methods