Merge pull request #190 from monich/toomuch

Do not animate tab item width
This commit is contained in:
Slava Monich 2020-11-22 13:33:22 +02:00 committed by GitHub
commit 0d600803ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,6 @@ Item {
width: loaded ? (headerGrid.width / tabView.count) : 0 width: loaded ? (headerGrid.width / tabView.count) : 0
opacity: loaded ? 1.0 : 0.0 opacity: loaded ? 1.0 : 0.0
Behavior on width { PropertyAnimation {duration: 200}}
Behavior on opacity { FadeAnimation {}} Behavior on opacity { FadeAnimation {}}
height: Theme.itemSizeLarge height: Theme.itemSizeLarge
property int itemIndex: index property int itemIndex: index