blobpopup positioning and radius changes
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 12s
Python / lint-format (pull_request) Successful in 19s
Python / test (pull_request) Successful in 29s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m43s

This commit is contained in:
2026-06-24 23:06:29 +02:00
parent ecfa1115cd
commit 01c63ebead
6 changed files with 11 additions and 8 deletions
+3 -3
View File
@@ -66,7 +66,7 @@ Item {
group: blobGroup
implicitHeight: parent.height
implicitWidth: parent.width
radius: Appearance.rounding.large
radius: Appearance.rounding.small + Appearance.padding.small
states: State {
name: "open"
@@ -86,8 +86,8 @@ Item {
}
Anim {
duration: Appearance.anim.durations.expressiveFastSpatial
easing.bezierCurve: Appearance.anim.curves.expressiveFastSpatial
duration: Appearance.anim.durations.expressiveFastEffects
easing.bezierCurve: Appearance.anim.curves.expressiveFastEffects
properties: "topMargin,implicitHeight"
}
+3 -1
View File
@@ -83,7 +83,7 @@ ConnectedRect {
id: area
anchors.fill: parent
cursorShape: undefined
cursorShape: popup.open ? Qt.ArrowCursor : undefined
enabled: popup.open
hoverEnabled: true
parent: {
@@ -94,6 +94,8 @@ ConnectedRect {
const contentWin = win as Windows; // If inside the drawer content window, put it inside the interaction wrapper so hover works
return contentWin ? contentWin.interactionWrapper : (win as QsWindow).contentItem;
}
preventStealing: true
propagateComposedEvents: false
z: popup.animDriver > 0 ? 1 : 0
onClicked: popup.open = false