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:
parent
4bbeb4fa34
commit
42ebec4503
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue