Reworked tray and created network boarder
This commit is contained in:
@@ -77,8 +77,5 @@ PanelWindow {
|
|||||||
PowerButton {}
|
PowerButton {}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Somewhere add Tray
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user