mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-01 08:31:33 +08:00
36 lines
648 B
QML
36 lines
648 B
QML
|
import QtQuick
|
||
|
import QtQuick.Layouts
|
||
|
import QtQuick.Window
|
||
|
import QtQuick.Controls
|
||
|
import FluentUI
|
||
|
import "qrc:///example/qml/component"
|
||
|
|
||
|
FluScrollablePage {
|
||
|
|
||
|
title: "RatingControl"
|
||
|
|
||
|
FluArea {
|
||
|
Layout.fillWidth: true
|
||
|
height: 100
|
||
|
paddings: 10
|
||
|
Layout.topMargin: 20
|
||
|
|
||
|
Column {
|
||
|
spacing: 10
|
||
|
anchors.verticalCenter: parent.verticalCenter
|
||
|
FluRatingControl {}
|
||
|
FluRatingControl {
|
||
|
number: 10
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
CodeExpander {
|
||
|
Layout.fillWidth: true
|
||
|
Layout.topMargin: -1
|
||
|
code: 'FluRatingControl{
|
||
|
|
||
|
}'
|
||
|
}
|
||
|
}
|