diff options
Diffstat (limited to 'sysui/instrumentcluster/InstrumentClusterWindow.qml')
-rw-r--r-- | sysui/instrumentcluster/InstrumentClusterWindow.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysui/instrumentcluster/InstrumentClusterWindow.qml b/sysui/instrumentcluster/InstrumentClusterWindow.qml index 5235ca5a..a58b08a8 100644 --- a/sysui/instrumentcluster/InstrumentClusterWindow.qml +++ b/sysui/instrumentcluster/InstrumentClusterWindow.qml @@ -76,6 +76,10 @@ Window { onSecondaryWindowSwitchCountChanged: secondaryAppWindows.next(); } + onWidthChanged: { + root.contentItem.NeptuneStyle.scale = root.width / Style.instrumentClusterWidth; + } + Item { id: uiSlot anchors.centerIn: parent |