fix weirdly spaced topright button when bluetooth unavailable (#2482)

This commit is contained in:
end-4
2025-11-22 15:32:03 +01:00
parent 3507aee627
commit b350d87ce2
2 changed files with 2 additions and 2 deletions
@@ -301,12 +301,12 @@ Item { // Bar content region
}
}
MaterialSymbol {
Layout.rightMargin: indicatorsRowLayout.realSpacing
text: Network.materialSymbol
iconSize: Appearance.font.pixelSize.larger
color: rightSidebarButton.colText
}
MaterialSymbol {
Layout.leftMargin: indicatorsRowLayout.realSpacing
visible: BluetoothStatus.available
text: BluetoothStatus.connected ? "bluetooth_connected" : BluetoothStatus.enabled ? "bluetooth" : "bluetooth_disabled"
iconSize: Appearance.font.pixelSize.larger
@@ -280,12 +280,12 @@ Item { // Bar content region
}
}
MaterialSymbol {
Layout.bottomMargin: indicatorsColumnLayout.realSpacing
text: Network.materialSymbol
iconSize: Appearance.font.pixelSize.larger
color: rightSidebarButton.colText
}
MaterialSymbol {
Layout.topMargin: indicatorsColumnLayout.realSpacing
visible: BluetoothStatus.available
text: BluetoothStatus.connected ? "bluetooth_connected" : BluetoothStatus.enabled ? "bluetooth" : "bluetooth_disabled"
iconSize: Appearance.font.pixelSize.larger