mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-04 14:39:51 -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 {
|
||||
id: list
|
||||
visible: opacity > 0
|
||||
opacity: matchesLength != 0 ? 1 : 0
|
||||
visible: Layout.preferredHeight > 1
|
||||
clip: true
|
||||
cacheBuffer: 0 // works around QTBUG-131106
|
||||
//reuseItems: true
|
||||
|
|
@ -129,13 +128,6 @@ Singleton {
|
|||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: Math.min(matchesLength * delegateHeight, 500)
|
||||
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 200
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
}
|
||||
|
||||
Behavior on Layout.preferredHeight {
|
||||
NumberAnimation {
|
||||
duration: 200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue