blobpopup positioning and radius changes
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user