1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 07:22:50 -05:00

Fix bindings in center section & icon sizes

This commit is contained in:
bbedward
2025-10-02 21:41:24 -04:00
parent 414a1ad4d2
commit 731db13c14
4 changed files with 11 additions and 13 deletions

View File

@@ -372,11 +372,11 @@ Item {
item.spacerSize = Qt.binding(() => model.size || 20)
}
if (root.axis && "axis" in item) {
item.axis = root.axis
item.axis = Qt.binding(() => root.axis)
}
if (root.axis && "isVertical" in item) {
try {
item.isVertical = root.axis.isVertical
item.isVertical = Qt.binding(() => root.axis.isVertical)
} catch (e) {
}
}
@@ -386,13 +386,13 @@ Item {
item.section = root.section
}
if ("parentScreen" in item) {
item.parentScreen = root.parentScreen
item.parentScreen = Qt.binding(() => root.parentScreen)
}
if ("widgetThickness" in item) {
item.widgetThickness = root.widgetThickness
item.widgetThickness = Qt.binding(() => root.widgetThickness)
}
if ("barThickness" in item) {
item.barThickness = root.barThickness
item.barThickness = Qt.binding(() => root.barThickness)
}
// Inject PluginService for plugin widgets