Reworked tray and created network boarder

This commit is contained in:
Hannes
2026-02-18 19:11:10 +01:00
parent 15c0e7f800
commit d7a255ad84
3 changed files with 5 additions and 6 deletions
-3
View File
@@ -77,8 +77,5 @@ PanelWindow {
PowerButton {} PowerButton {}
} }
// TODO: Somewhere add Tray
} }
} }
+4 -2
View File
@@ -6,7 +6,7 @@ import "../../../colors"
MouseArea { MouseArea {
id: networkButton id: networkButton
width: output.width + 16 width: bar.height
height: bar.height height: bar.height
hoverEnabled: true hoverEnabled: true
cursorShape: Qt.PointingHandCursor cursorShape: Qt.PointingHandCursor
@@ -19,7 +19,9 @@ MouseArea {
anchors.fill: parent anchors.fill: parent
color: networkButton.containsMouse ? Colors.tertiary : Qt.alpha(Colors.tertiaryContainer, 0.25) color: networkButton.containsMouse ? Colors.tertiary : Qt.alpha(Colors.tertiaryContainer, 0.25)
radius: 6 radius: 6
width: output.width + 16 border.width: 2
border.color: networkButton.containsMouse ? Colors.tertiaryContainer_fg
: Colors.secondaryContainer_fg
Text { Text {
id: output id: output
+1 -1
View File
@@ -7,7 +7,7 @@ import "../../../colors"
Row { // Workspace Row Row { // Workspace Row
id: trayRow id: trayRow
spacing: 8 spacing: 4
Repeater { Repeater {
model: SystemTray.items model: SystemTray.items