expandable dialogs for color scheme, fonts and scheduling modes
This commit is contained in:
@@ -12,6 +12,7 @@ CustomSwitch {
|
||||
property alias last: bg.last
|
||||
property string settingAnchor
|
||||
property string subtext
|
||||
property string iconText
|
||||
|
||||
function flashHighlight(): void {
|
||||
bg.flashHighlight();
|
||||
@@ -63,8 +64,7 @@ CustomSwitch {
|
||||
text: root.text
|
||||
|
||||
Behavior on opacity {
|
||||
Anim {
|
||||
}
|
||||
Anim {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,10 +81,16 @@ CustomSwitch {
|
||||
visible: root.subtext
|
||||
|
||||
Behavior on opacity {
|
||||
Anim {
|
||||
}
|
||||
Anim {}
|
||||
}
|
||||
}
|
||||
|
||||
MaterialIcon {
|
||||
id: icon
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
text: root.iconText ?? ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user