Skip to content

Pane

Fluent styled Pane.

import QtQuick.Controls.QWinUI3 · src/style/QWinUI3/Pane.qml

Category: Styled controls · Library: v2.80

← Component index

Gallery: Panesrc/gallery/pages/PanePage.qml

Example

Pane {
    id: pane
    padding: Theme.paddingControlH
    TextBlock {
        width: pane.availableWidth   // required for Wrap / Elide
        text: qsTr("Pane body")
        textWrapping: "wrap"
    }
}

Notes

Style-only Fluent chrome for Qt Quick Controls Pane. Long text (WinUI): size the Pane (Layout.fillWidth / width), then bind child text width to availableWidth — TextWrapping / TextTrimming via TextBlock.

API

Style-only control: no extra QWinUI3 properties. Use the Qt Quick Controls Pane API (this file only supplies Fluent visuals / metrics).

Inherited from Pane

  • padding
  • background

Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.