SmartPanel: fix dynamic UI scaling

This commit is contained in:
ItsLemmy
2025-11-07 14:12:39 -05:00
parent 493a1b7f65
commit 5b3b2ae2aa
+10
View File
@@ -106,6 +106,16 @@ Item {
signal opened
signal closed
Connections {
target: Style
function onUiScaleRatioChanged() {
if (root.isPanelOpen && root.isPanelVisible) {
root.setPosition()
}
}
}
// Panel visibility and sizing
visible: isPanelVisible
width: parent ? parent.width : 0