This commit is contained in:
朱子楚\zhuzi
2023-06-08 23:19:38 +08:00
parent 6da4a2e10e
commit 49029164ff
6 changed files with 63 additions and 91 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.16)
cmake_minimum_required(VERSION 3.20)
project(example VERSION 0.1 LANGUAGES CXX)

View File

@ -5,36 +5,31 @@ import QtQuick.Controls
import FluentUI
import "../component"
FluScrollablePage{
FluScrollablePage {
title:"RatingControl"
title: "RatingControl"
FluArea{
FluArea {
Layout.fillWidth: true
height: 100
paddings: 10
Layout.topMargin: 20
Column{
Column {
spacing: 10
anchors.verticalCenter: parent.verticalCenter
FluRatingControl{
}
FluRatingControl{
number:10
FluRatingControl {}
FluRatingControl {
number: 10
}
}
}
CodeExpander{
CodeExpander {
Layout.fillWidth: true
Layout.topMargin: -1
code:'FluRatingControl{
code: 'FluRatingControl{
}'
}
}

View File

@ -90,12 +90,8 @@ CustomWindow {
FluNavigationView{
id:nav_view
anchors{
top: parent.top
left: parent.left
right: parent.right
bottom: parent.bottom
}
width: parent.width
height: parent.height
z:999
items: ItemsOriginal
footerItems:ItemsFooter