Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions qt6/src/qml/AlertToolTip.qml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,25 @@ ToolTip {
// NumberAnimation { properties: "opacity"; from: 1.0; to: 0.0 }
NumberAnimation { properties: "y"; from: control.target.height + DS.Style.control.spacing ; to: control.target.height }
}

BoxShadow {
id: line
property D.Palette dropShadowColor: DS.Style.alertToolTip.connecterdropShadow
property D.Palette backgroundColor: DS.Style.alertToolTip.connecterBackground
property D.Palette borderColor: DS.Style.control.border
y: - height * (0.75) - control.topMargin - control.topPadding
width: DS.Style.alertToolTip.connectorWidth
height: DS.Style.alertToolTip.connectorHeight
shadowBlur: 4
shadowOffsetY: 2
shadowColor: D.ColorSelector.dropShadowColor
cornerRadius: DS.Style.control.radius

Rectangle {
anchors.fill: parent
color: line.D.ColorSelector.backgroundColor
border.color: line.D.ColorSelector.borderColor
border.width: 1
}
}
}
6 changes: 3 additions & 3 deletions qt6/src/qml/FlowStyle.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ QtObject {
property real focusBorderPaddings: 1

property D.Palette border: D.Palette {
normal: Qt.rgba(0, 0, 0, 0.05)
normalDark: Qt.rgba(0, 0, 0, 0.05)
normal: Qt.rgba(0, 0, 0, 0.1)
normalDark: Qt.rgba(0, 0, 0, 0.1)
}

function implicitWidth(control) {
Expand Down Expand Up @@ -635,7 +635,7 @@ QtObject {

property D.Palette connecterBackground: D.Palette {
normal: Qt.rgba(1, 1, 1, 1)
normalDark: Qt.rgba(0, 0, 0, 0.1)
normalDark: Qt.rgba(51 / 255.0, 51 / 255.0, 51 / 255.0, 1)
}

property D.Palette dropShadow: D.Palette {
Expand Down
Loading