我试图用 QML 中的动画设置边距值变化动画,但我不能。动画无效
这是我的州
State {
name: "up"
PropertyChanges {
target: drag_line
anchors.topMargin: 50
}
在过渡中我试过
transitions: [
Transition {
to: "up"
NumberAnimation { properties: "margin" ;easing.type: Easing.InOutQuad;duration: 300 }
}
]
我也尝试了数字动画,但它也没有用。有什么办法,我做错了吗
答案 0 :(得分:2)
该属性不是ADMIN@CSO49-PC MINGW64 /e/heena/heena/gitolite-admin (master)
$ git clone git@192.168.0.106:gitolite-admin
Cloning into 'gitolite-admin'...
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 6 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (6/6), done.
Checking connectivity... done.
ADMIN@CSO49-PC MINGW64 /e/heena/heena/gitolite-admin (master)
$ git push git@192.168.0.106:gitolite-admin
Everything up-to-date
ADMIN@CSO49-PC MINGW64 /e/heena/heena/gitolite-admin (master)
$ git push git@192.168.0.106:testing.git
Counting objects: 6, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (6/6), 731 bytes | 0 bytes/s, done.
Total 6 (delta 0), reused 6 (delta 0)
To git@192.168.0.106:testing.git
* [new branch] master -> master
ADMIN@CSO49-PC MINGW64 /e/heena/heena/gitolite-admin (master)
$ git push git@192.168.0.106:cicd.git
FATAL: W any cicd admin DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
,而是margin
这是我的工作范例:
anchors.topMargin