fix inconsistent margins
This commit is contained in:
parent
7cf1650794
commit
e100bfa0e0
@ -56,6 +56,7 @@ Variants {
|
|||||||
id: rightStuff
|
id: rightStuff
|
||||||
anchors.margins: Settings.config.barHeight / 4
|
anchors.margins: Settings.config.barHeight / 4
|
||||||
spacing: 10
|
spacing: 10
|
||||||
|
clip: true
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
Network {}
|
Network {}
|
||||||
|
|||||||
@ -54,7 +54,6 @@ Rectangle {
|
|||||||
// --- Main Layout ---
|
// --- Main Layout ---
|
||||||
RowLayout {
|
RowLayout {
|
||||||
id: mainLayout
|
id: mainLayout
|
||||||
anchors.centerIn: parent
|
|
||||||
spacing: 10 // Space between multiple device pills (if you have ethernet + wifi)
|
spacing: 10 // Space between multiple device pills (if you have ethernet + wifi)
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
|
|||||||
@ -11,7 +11,7 @@ Rectangle {
|
|||||||
radius: implicitHeight / 2
|
radius: implicitHeight / 2
|
||||||
color: pavuArea.containsMouse ? Colors.primaryContainer : Colors.surfaceContainer
|
color: pavuArea.containsMouse ? Colors.primaryContainer : Colors.surfaceContainer
|
||||||
implicitWidth: textRow.implicitWidth + 20
|
implicitWidth: textRow.implicitWidth + 20
|
||||||
implicitHeight: Settings.config.barHeight - 8
|
implicitHeight: Settings.config.barHeight - 10
|
||||||
property var sink: Pipewire.defaultAudioSink
|
property var sink: Pipewire.defaultAudioSink
|
||||||
function getVolumeIcon() {
|
function getVolumeIcon() {
|
||||||
// Safety check: if Pipewire is dead or sink is missing
|
// Safety check: if Pipewire is dead or sink is missing
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user