We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a Item is scaled, a child element does not adhere to its new center when placed with anchors.centerIn: parent:
anchors.centerIn: parent
import QtQuick 2.0 Rectangle { width: 500; height: 200 color: "lightgray" scale: 2 Text { id: helloText text: "Hello world!" anchors.centerIn: parent font.pointSize: 24; font.bold: true; } }
The position of the text is independent of the parent's scale property. In regular QML this does work.
The text was updated successfully, but these errors were encountered:
@roe85 This testcase seems to work for me on current master.
Sorry, something went wrong.
I can reproduce it here: https://qmlweb.github.io/
@roe85 The demo website uses version 0.2.0.
See instructions here or here (last option) to build QmlWeb from the master branch.
master
No branches or pull requests
When a Item is scaled, a child element does not adhere to its new center when placed with
anchors.centerIn: parent
:The position of the text is independent of the parent's scale property. In regular QML this does work.
The text was updated successfully, but these errors were encountered: