mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-04 22:49:50 -05:00
fix: get rid of slightly jank looking resize logic
This commit is contained in:
parent
fbd9c212e5
commit
e33d3d574a
1 changed files with 1 additions and 9 deletions
|
|
@ -120,8 +120,7 @@ Singleton {
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
id: list
|
id: list
|
||||||
visible: opacity > 0
|
visible: Layout.preferredHeight > 1
|
||||||
opacity: matchesLength != 0 ? 1 : 0
|
|
||||||
clip: true
|
clip: true
|
||||||
cacheBuffer: 0 // works around QTBUG-131106
|
cacheBuffer: 0 // works around QTBUG-131106
|
||||||
//reuseItems: true
|
//reuseItems: true
|
||||||
|
|
@ -129,13 +128,6 @@ Singleton {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: Math.min(matchesLength * delegateHeight, 500)
|
Layout.preferredHeight: Math.min(matchesLength * delegateHeight, 500)
|
||||||
|
|
||||||
Behavior on opacity {
|
|
||||||
NumberAnimation {
|
|
||||||
duration: 200
|
|
||||||
easing.type: Easing.OutCubic
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Behavior on Layout.preferredHeight {
|
Behavior on Layout.preferredHeight {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
duration: 200
|
duration: 200
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue