Start native apps faster with the Composables CLI ->
Class

DockedEdge

Represents the edge of a resizable pane that is docked, i.e.

Source set: Common
enum class DockedEdge {
    /** The top edge of the pane is fixed, and resizing happens by moving the bottom edge. */
    Top,
    /** The bottom edge of the pane is fixed, and resizing happens by moving the top edge. */
    Bottom,
    /** The start edge of the pane is fixed, and resizing happens by moving the end edge. */
    Start,
    /** The end edge of the pane is fixed, and resizing happens by moving the start edge. */
    End,
}

Represents the edge of a resizable pane that is docked, i.e. the edge that will stay in the same position during resizing.

For example if the edge is DockedEdge.Top, the top edge of the pane won't move and the bottom edge will be moveable to resize the pane.

Note that DragToResizeState only supports resizing along one orientation according to their DockedEdge. For example if DockedEdge.Top or DockedEdge.Bottom has been set, the resizing can only happen along the vertical axis.

Members

Top

Source set: Common
Top

The top edge of the pane is fixed, and resizing happens by moving the bottom edge.

Bottom

Source set: Common
Bottom

The bottom edge of the pane is fixed, and resizing happens by moving the top edge.

Start

Source set: Common
Start

The start edge of the pane is fixed, and resizing happens by moving the end edge.

End

Source set: Common
End

The end edge of the pane is fixed, and resizing happens by moving the start edge.