Do not animate tab item width

It looks weird when they are moving around the screen after page
orientation changes.
This commit is contained in:
Slava Monich 2020-11-22 04:31:32 +02:00
parent 4bbeb4fa34
commit 42ebec4503

View file

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