mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
cc: fixed width column, remove anchoring from individual icons on vbar maybe #1376
This commit is contained in:
@@ -244,13 +244,13 @@ BasePill {
|
|||||||
Column {
|
Column {
|
||||||
id: controlColumn
|
id: controlColumn
|
||||||
visible: root.isVerticalOrientation
|
visible: root.isVerticalOrientation
|
||||||
anchors.centerIn: parent
|
width: root.vIconSize
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
spacing: Theme.spacingXS
|
spacing: Theme.spacingXS
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
width: root.vIconSize
|
width: root.vIconSize
|
||||||
height: root.vIconSize
|
height: root.vIconSize
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
visible: root.showScreenSharingIcon && NiriService.hasCasts
|
visible: root.showScreenSharingIcon && NiriService.hasCasts
|
||||||
|
|
||||||
DankIcon {
|
DankIcon {
|
||||||
@@ -264,7 +264,6 @@ BasePill {
|
|||||||
Item {
|
Item {
|
||||||
width: root.vIconSize
|
width: root.vIconSize
|
||||||
height: root.vIconSize
|
height: root.vIconSize
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
visible: root.showNetworkIcon && NetworkService.networkAvailable
|
visible: root.showNetworkIcon && NetworkService.networkAvailable
|
||||||
|
|
||||||
DankIcon {
|
DankIcon {
|
||||||
@@ -278,7 +277,6 @@ BasePill {
|
|||||||
Item {
|
Item {
|
||||||
width: root.vIconSize
|
width: root.vIconSize
|
||||||
height: root.vIconSize
|
height: root.vIconSize
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
visible: root.showVpnIcon && NetworkService.vpnAvailable && NetworkService.vpnConnected
|
visible: root.showVpnIcon && NetworkService.vpnAvailable && NetworkService.vpnConnected
|
||||||
|
|
||||||
DankIcon {
|
DankIcon {
|
||||||
@@ -292,7 +290,6 @@ BasePill {
|
|||||||
Item {
|
Item {
|
||||||
width: root.vIconSize
|
width: root.vIconSize
|
||||||
height: root.vIconSize
|
height: root.vIconSize
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
visible: root.showBluetoothIcon && BluetoothService.available && BluetoothService.enabled
|
visible: root.showBluetoothIcon && BluetoothService.available && BluetoothService.enabled
|
||||||
|
|
||||||
DankIcon {
|
DankIcon {
|
||||||
@@ -306,7 +303,6 @@ BasePill {
|
|||||||
Item {
|
Item {
|
||||||
width: root.vIconSize
|
width: root.vIconSize
|
||||||
height: root.vIconSize + (root.showAudioPercent ? audioPercentV.implicitHeight + 2 : 0)
|
height: root.vIconSize + (root.showAudioPercent ? audioPercentV.implicitHeight + 2 : 0)
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
visible: root.showAudioIcon
|
visible: root.showAudioIcon
|
||||||
|
|
||||||
DankIcon {
|
DankIcon {
|
||||||
@@ -345,7 +341,6 @@ BasePill {
|
|||||||
Item {
|
Item {
|
||||||
width: root.vIconSize
|
width: root.vIconSize
|
||||||
height: root.vIconSize + (root.showMicPercent ? micPercentV.implicitHeight + 2 : 0)
|
height: root.vIconSize + (root.showMicPercent ? micPercentV.implicitHeight + 2 : 0)
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
visible: root.showMicIcon
|
visible: root.showMicIcon
|
||||||
|
|
||||||
DankIcon {
|
DankIcon {
|
||||||
@@ -384,7 +379,6 @@ BasePill {
|
|||||||
Item {
|
Item {
|
||||||
width: root.vIconSize
|
width: root.vIconSize
|
||||||
height: root.vIconSize + (root.showBrightnessPercent ? brightnessPercentV.implicitHeight + 2 : 0)
|
height: root.vIconSize + (root.showBrightnessPercent ? brightnessPercentV.implicitHeight + 2 : 0)
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
visible: root.showBrightnessIcon && DisplayService.brightnessAvailable && root.hasPinnedBrightnessDevice()
|
visible: root.showBrightnessIcon && DisplayService.brightnessAvailable && root.hasPinnedBrightnessDevice()
|
||||||
|
|
||||||
DankIcon {
|
DankIcon {
|
||||||
@@ -420,7 +414,6 @@ BasePill {
|
|||||||
Item {
|
Item {
|
||||||
width: root.vIconSize
|
width: root.vIconSize
|
||||||
height: root.vIconSize
|
height: root.vIconSize
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
visible: root.showBatteryIcon && BatteryService.batteryAvailable
|
visible: root.showBatteryIcon && BatteryService.batteryAvailable
|
||||||
|
|
||||||
DankIcon {
|
DankIcon {
|
||||||
@@ -434,7 +427,6 @@ BasePill {
|
|||||||
Item {
|
Item {
|
||||||
width: root.vIconSize
|
width: root.vIconSize
|
||||||
height: root.vIconSize
|
height: root.vIconSize
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
visible: root.showPrinterIcon && CupsService.cupsAvailable && root.hasPrintJobs()
|
visible: root.showPrinterIcon && CupsService.cupsAvailable && root.hasPrintJobs()
|
||||||
|
|
||||||
DankIcon {
|
DankIcon {
|
||||||
@@ -448,7 +440,6 @@ BasePill {
|
|||||||
Item {
|
Item {
|
||||||
width: root.vIconSize
|
width: root.vIconSize
|
||||||
height: root.vIconSize
|
height: root.vIconSize
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
visible: root.hasNoVisibleIcons()
|
visible: root.hasNoVisibleIcons()
|
||||||
|
|
||||||
DankIcon {
|
DankIcon {
|
||||||
|
|||||||
Reference in New Issue
Block a user