Set HStackView transitions that make sense
This commit is contained in:
		@@ -4,4 +4,35 @@ import QtQuick 2.12
 | 
			
		||||
import QtQuick.Controls 2.12
 | 
			
		||||
 | 
			
		||||
StackView {
 | 
			
		||||
    pushEnter: Transition {
 | 
			
		||||
        HNumberAnimation {
 | 
			
		||||
            property: "scale"
 | 
			
		||||
            from: 0
 | 
			
		||||
            to: 1
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pushExit: Transition {
 | 
			
		||||
        HNumberAnimation {
 | 
			
		||||
            property: "opacity"
 | 
			
		||||
            from: 1
 | 
			
		||||
            to: 0
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    popEnter: Transition {
 | 
			
		||||
        HNumberAnimation {
 | 
			
		||||
            property: "opacity"
 | 
			
		||||
            from: 0
 | 
			
		||||
            to: 1
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    popExit: Transition {
 | 
			
		||||
        HNumberAnimation {
 | 
			
		||||
            property: "scale"
 | 
			
		||||
            from: 1
 | 
			
		||||
            to: 0
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user