Commit 9b353b7a authored by Kai Koehne's avatar Kai Koehne
Browse files

Fix default "hello world" qml file to not use anchors

Some things like reparenting do not work right now in the Design mode
for anchored items, and we are missing a way to inform the user.
Using absolute positions for positioning therefore avoids confusion
for first time users.
parent a3098651
......@@ -109,8 +109,9 @@ Core::GeneratedFiles QmlNewProjectWizard::generateFiles(const QWizard *w,
<< " width: 200" << endl
<< " height: 200" << endl
<< " Text {" << endl
<< " x: 66" << endl
<< " y: 93" << endl
<< " text: \"Hello World\"" << endl
<< " anchors.centerIn: parent" << endl
<< " }" << endl
<< "}" << endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment