File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ ToolTip {
1111 property Item target
1212
1313 x: 0
14+ y: target ? target .height + DS .Style .control .spacing : 0
1415 topPadding: DS .Style .alertToolTip .verticalPadding
1516 bottomPadding: DS .Style .alertToolTip .verticalPadding
1617 leftPadding: DS .Style .alertToolTip .horizontalPadding
@@ -40,12 +41,13 @@ ToolTip {
4041 }
4142
4243 enter: Transition {
43- NumberAnimation { properties: " opacity" ; from: 0.0 ; to: 1.0 ; duration: 200 }
44+ // TODO: After setting transparency, it will cause tooltips to pass through the window background and be temporarily removed
45+ // NumberAnimation { properties: "opacity"; from: 0.0; to: 1.0; duration: 200 }
4446 NumberAnimation { properties: " y" ; from: control .target .height ; to: control .target .height + DS .Style .control .spacing ; duration: 200 }
4547 }
4648
4749 exit: Transition {
48- NumberAnimation { properties: " opacity" ; from: 1.0 ; to: 0.0 }
50+ // NumberAnimation { properties: "opacity"; from: 1.0; to: 0.0 }
4951 NumberAnimation { properties: " y" ; from: control .target .height + DS .Style .control .spacing ; to: control .target .height }
5052 }
5153}
You can’t perform that action at this time.
0 commit comments