From 24163ea3fee49649ce0ef44bd7b25de78c618e27 Mon Sep 17 00:00:00 2001 From: Bea Lam Date: Tue, 13 Apr 2010 10:30:24 +1000 Subject: Doc improvements --- doc/src/declarative/advtutorial.qdoc | 3 +++ examples/declarative/tutorials/samegame/samegame1/samegame.qml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/src/declarative/advtutorial.qdoc b/doc/src/declarative/advtutorial.qdoc index 4807fd2..3a70eee 100644 --- a/doc/src/declarative/advtutorial.qdoc +++ b/doc/src/declarative/advtutorial.qdoc @@ -101,6 +101,9 @@ One item you may not recognize here is the \l SystemPalette item. This provides access to the Qt system palette and is used to give the button a more native look-and-feel. +Notice the anchors for the \c Item, \c Button and \c Text elements are set using +\l {Grouped Properties}{group notation} for readability. + \section2 Adding \c Button and \c Block components The \c Button item in the code above is defined in a separate file named \c Button.qml. diff --git a/examples/declarative/tutorials/samegame/samegame1/samegame.qml b/examples/declarative/tutorials/samegame/samegame1/samegame.qml index eec77ae..b6e01fd 100644 --- a/examples/declarative/tutorials/samegame/samegame1/samegame.qml +++ b/examples/declarative/tutorials/samegame/samegame1/samegame.qml @@ -29,7 +29,7 @@ Rectangle { Button { anchors { left: parent.left; leftMargin: 3; verticalCenter: parent.verticalCenter } text: "New Game" - onClicked: console.log("Starting a new game...") + onClicked: console.log("This doesn't do anything yet...") } Text { -- cgit v0.12