Logo FluentUI

Frame QML Type

A styled frame container with border and corner radius. More...

Import Statement: import FluentUI 1.0

Properties

Detailed Description

Frame is a QML component that extends QtQuick.Controls.Frame with Fluent Design theme support. It provides a bordered container with configurable corner radius and themed stroke and fill colors.

Usage Example

 import QtQuick
 import FluentUI

 Frame {
     width: 200
     height: 200
     radius: 8

     Label {
         text: "Framed content"
         anchors.centerIn: parent
     }
 }

See also QtQuick.Controls.Frame.

Property Documentation

contentItem : Item

The content item of the frame. This property is inherited from QtQuick.Controls.Frame.

padding : real

The padding inside the frame, in pixels. This property is inherited from QtQuick.Controls.Frame.

radius : int

The corner radius of the frame border in pixels. The default value is determined by the theme's control radius.