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"
|
|||
|
}'
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
}
|