move network/bluetooth refresh + active tracking into applets, fix dock parent.expanded
This commit is contained in:
parent
c96856581d
commit
02910957f1
7 changed files with 11 additions and 9 deletions
|
|
@ -251,7 +251,7 @@ PanelWindow {
|
|||
devices: S.SystemStats.tempDevices
|
||||
accentColor: root._accent
|
||||
deviceFilter: S.Modules.temperature.device || ""
|
||||
active: parent.parent.expanded
|
||||
active: parent.expanded
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -296,6 +296,7 @@ PanelWindow {
|
|||
C.NetworkApplet {
|
||||
width: parent.width
|
||||
accentColor: root._accent
|
||||
active: parent.expanded
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -310,6 +311,7 @@ PanelWindow {
|
|||
C.BluetoothApplet {
|
||||
width: parent.width
|
||||
accentColor: root._accent
|
||||
active: parent.expanded
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -89,9 +89,10 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
|
||||
// Content area
|
||||
// Content area - expanded propagated so children can bind `active: parent.expanded`
|
||||
Column {
|
||||
id: _contentColumn
|
||||
property bool expanded: root.expanded
|
||||
anchors.top: _header.bottom
|
||||
anchors.topMargin: 4
|
||||
width: parent.width
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue