audio popout devices tab better spacing
This commit is contained in:
+25
-17
@@ -133,7 +133,14 @@ CustomRect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
component DevicesTab: ColumnLayout {
|
component DevicesTab: Item {
|
||||||
|
implicitHeight: deviceColumn.height + Appearance.padding.normal
|
||||||
|
implicitWidth: deviceColumn.width + Appearance.padding.normal
|
||||||
|
|
||||||
|
ColumnLayout {
|
||||||
|
id: deviceColumn
|
||||||
|
|
||||||
|
anchors.centerIn: parent
|
||||||
spacing: 12
|
spacing: 12
|
||||||
|
|
||||||
ButtonGroup {
|
ButtonGroup {
|
||||||
@@ -183,6 +190,7 @@ CustomRect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
component VolumesTab: ColumnLayout {
|
component VolumesTab: ColumnLayout {
|
||||||
spacing: 12
|
spacing: 12
|
||||||
|
|
||||||
@@ -366,6 +374,22 @@ CustomRect {
|
|||||||
node: appBox.modelData
|
node: appBox.modelData
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CustomRect {
|
||||||
|
id: peakFill
|
||||||
|
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.top: parent.top
|
||||||
|
color: Qt.alpha(DynamicColors.palette.m3primary, 0.15)
|
||||||
|
implicitWidth: parent.width * peak.peak
|
||||||
|
|
||||||
|
Behavior on implicitWidth {
|
||||||
|
Anim {
|
||||||
|
duration: MaterialEasing.expressiveEffectsTime
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: layoutVolume
|
id: layoutVolume
|
||||||
|
|
||||||
@@ -449,22 +473,6 @@ CustomRect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CustomRect {
|
|
||||||
id: peakFill
|
|
||||||
|
|
||||||
anchors.bottom: parent.bottom
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.top: parent.top
|
|
||||||
color: Qt.alpha(DynamicColors.palette.m3primary, 0.15)
|
|
||||||
implicitWidth: parent.width * peak.peak
|
|
||||||
|
|
||||||
Behavior on implicitWidth {
|
|
||||||
Anim {
|
|
||||||
duration: MaterialEasing.expressiveEffectsTime
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user