new font???

This commit is contained in:
Zacharias-Brohn
2025-11-25 13:01:27 +01:00
parent 91a4f95fd0
commit 6a4479b8a3
18 changed files with 161 additions and 278 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ RowLayout {
const trayItem = item.items.itemAt(index);
if (trayItem) {
popouts.currentName = `traymenu${index}`;
popouts.currentCenter = Qt.binding(() => trayItem.mapToItem(root, trayItem.implicitWidth / 2, 0).x);
popouts.currentCenter = Qt.binding(() => trayItem.mapToItem(root, trayItem.implicitWidth / 2 + 4, 0).x);
popouts.hasCurrent = true;
} else {
popouts.hasCurrent = false;
+44
View File
@@ -0,0 +1,44 @@
pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Effects
import qs.Modules
import qs.Config
import qs.Components
Item {
id: root
required property Item bar
anchors.fill: parent
CustomRect {
anchors.fill: parent
color: DynamicColors.palette.m3surface
layer.enabled: true
layer.effect: MultiEffect {
maskSource: mask
maskEnabled: true
maskInverted: true
maskThresholdMin: 0.5
maskSpreadAtMin: 1
}
}
Item {
id: mask
anchors.fill: parent
layer.enabled: true
visible: false
Rectangle {
anchors.fill: parent
anchors.topMargin: root.bar.implicitHeight
topLeftRadius: 8
topRightRadius: 8
}
}
}