必要なシステムqmlファイルをプロジェクトに追加して編集できます。たとえば、PageStack.qmlからコードを変更します。
// Start state for pop entry, end state for push exit.
State {
name: "left"
PropertyChanges { target: container; x: -width }
},
// Start state for push entry, end state for pop exit.
State {
name: "right"
PropertyChanges { target: container; x: width }
},
に
// Start state for pop entry, end state for push exit.
State {
name: "left"
PropertyChanges { target: container; x: width }
},
// Start state for push entry, end state for pop exit.
State {
name: "right"
PropertyChanges { target: container; x: -width }
},
そして、私はそれをもっと簡単にする方法も知りたいです。