mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-01 00:27:32 +08:00
41 lines
722 B
QML
41 lines
722 B
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import QtQuick.Window
|
|
import QtQuick.Controls
|
|
import FluentUI
|
|
import "./component"
|
|
|
|
FluScrollablePage{
|
|
|
|
title:"ToggleSwitch"
|
|
leftPadding:10
|
|
rightPadding:10
|
|
bottomPadding:20
|
|
spacing: 0
|
|
|
|
FluArea{
|
|
Layout.fillWidth: true
|
|
height: 68
|
|
paddings: 10
|
|
Layout.topMargin: 20
|
|
Row{
|
|
spacing: 30
|
|
anchors.verticalCenter: parent.verticalCenter
|
|
FluToggleSwitch{
|
|
}
|
|
FluToggleSwitch{
|
|
text:"Text"
|
|
}
|
|
}
|
|
}
|
|
CodeExpander{
|
|
Layout.fillWidth: true
|
|
Layout.topMargin: -1
|
|
code:'FluToggleSwitch{
|
|
text:"Text"
|
|
}'
|
|
}
|
|
|
|
|
|
}
|