Skip to content

Frame

Fluent styled Frame.

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

Category: Styled controls · Library: v2.80

← Component index

Gallery: Framesrc/gallery/pages/FramePage.qml

Example

Frame {
    id: frame
    Label { text: qsTr("Framed content") }
}

Notes

Style-only Fluent chrome for Qt Quick Controls Frame. Must declare implicitWidth/Height like Basic — otherwise Layout hosts collapse to ~0 and children paint over siblings (e.g. Gallery “Source code”).

API

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

Inherited from Frame

  • padding
  • contentItem

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