test new systray #50
@@ -66,8 +66,8 @@ JsonObject {
|
||||
}
|
||||
component Padding: JsonObject {
|
||||
property int large: 15 * scale
|
||||
property int larger: 12 * scale
|
||||
property int normal: 10 * scale
|
||||
property int larger: 13 * scale
|
||||
property int normal: 9 * scale
|
||||
property real scale: 1
|
||||
property int small: 5 * scale
|
||||
property int smaller: 7 * scale
|
||||
@@ -75,18 +75,18 @@ JsonObject {
|
||||
}
|
||||
component Rounding: JsonObject {
|
||||
property int full: 1000 * scale
|
||||
property int large: 25 * scale
|
||||
property int normal: 17 * scale
|
||||
property int large: 24 * scale
|
||||
property int normal: 18 * scale
|
||||
property real scale: 1
|
||||
property int small: 12 * scale
|
||||
property int smallest: 8 * scale
|
||||
}
|
||||
component Spacing: JsonObject {
|
||||
property int large: 20 * scale
|
||||
property int larger: 15 * scale
|
||||
property int larger: 16 * scale
|
||||
property int normal: 12 * scale
|
||||
property real scale: 1
|
||||
property int small: 7 * scale
|
||||
property int small: 8 * scale
|
||||
property int smaller: 10 * scale
|
||||
}
|
||||
component Transparency: JsonObject {
|
||||
|
||||
@@ -21,6 +21,7 @@ RowLayout {
|
||||
property int warningThreshold: 80
|
||||
|
||||
percentage: 0
|
||||
spacing: Appearance.spacing.smaller
|
||||
|
||||
Behavior on animatedPercentage {
|
||||
Anim {
|
||||
@@ -38,6 +39,7 @@ RowLayout {
|
||||
MaterialIcon {
|
||||
id: icon
|
||||
|
||||
Layout.preferredWidth: 16
|
||||
color: root.iconColor
|
||||
font.pointSize: Appearance.font.size.larger
|
||||
text: root.icon
|
||||
|
||||
@@ -17,6 +17,7 @@ RowLayout {
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
animate: true
|
||||
color: (Audio.sourceMuted ?? false) ? DynamicColors.palette.m3error : root.textColor
|
||||
fill: 1
|
||||
font.pointSize: Appearance.font.size.larger
|
||||
text: Audio.sourceMuted ? "mic_off" : "mic"
|
||||
}
|
||||
@@ -25,6 +26,7 @@ RowLayout {
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
animate: true
|
||||
color: Audio.muted ? DynamicColors.palette.m3error : root.textColor
|
||||
fill: 1
|
||||
font.pointSize: Appearance.font.size.larger
|
||||
text: Audio.muted ? "volume_off" : "volume_up"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user