Logo FluentUI

SplitLayout QML Type

A resizable split layout. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Methods

Detailed Description

SplitLayout arranges child items in a horizontal or vertical layout with a resizable handle between them. Users can drag the handle to adjust the space分配 between adjacent items.

Property Documentation

handle : Item

The custom handle item used for resizing. This item appears between the split panes and can be dragged to resize them.

orientation : enumeration

The orientation of the split layout. Defaults to Qt.Horizontal. Set to Qt.Vertical for a vertical split.

Method Documentation

void addItem(item)

Adds an item to the split layout. The item becomes a resizable pane within the layout.

See also removeItem.

void removeItem(item)

Removes an item from the split layout.

See also addItem.