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
+1 -1
View File
@@ -7,7 +7,7 @@ CustomFlickable {
id: root
property real bottomFadeOpacity: fadeShouldBeActive(false) ? 0 : 1
property real fadeAmount: 0.2
property real fadeAmount: 0.1
property real topFadeOpacity: fadeShouldBeActive(true) ? 0 : 1
function fadeShouldBeActive(isStart: bool): bool {
+1 -1
View File
@@ -7,7 +7,7 @@ CustomListView {
id: root
property real bottomFadeOpacity: fadeShouldBeActive(false) ? 0 : 1
property real fadeAmount: 0.2
property real fadeAmount: 0.1
property real topFadeOpacity: fadeShouldBeActive(true) ? 0 : 1
function fadeShouldBeActive(isStart: bool): bool {
+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
+2 -1
View File
@@ -6,13 +6,14 @@ import qs.Components
import qs.Config
import qs.Modules.SettingsNew
Flickable {
VerticalFadeFlickable {
id: root
required property SettingsState sState
bottomMargin: Appearance.padding.large
contentHeight: content.implicitHeight
fadeAmount: 0.1
topMargin: Appearance.padding.large
ColumnLayout {
+1 -1
View File
@@ -93,7 +93,7 @@ PageBase {
p = p.parent;
return p?.opacity < 1;
}
popup.topMovement: Math.max(0 - popupHeight, Appearance.padding.large)
popup.topMovement: Appearance.padding.large
Loader {
active: row.popup.animDriver > 0