mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-10-31 00:07:36 +08:00
37 lines
694 B
QML
37 lines
694 B
QML
import QtQuick 2.15
|
|
import QtQuick.Layouts 1.15
|
|
import QtQuick.Window 2.15
|
|
import QtQuick.Controls 2.15
|
|
import FluentUI 1.0
|
|
import "qrc:///example/qml/component"
|
|
import "../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{
|
|
|
|
}'
|
|
}
|
|
}
|