mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-24 03:30:59 +08:00
41 lines
723 B
QML
41 lines
723 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"
|
|
}'
|
|
}
|
|
|
|
|
|
}
|