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.
This commit is contained in:
Kai Koehne
2010-01-08 11:24:22 +01:00
parent a309865178
commit 9b353b7a2f

View File

@@ -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;