diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-10-07 00:41:23 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-10-07 00:41:23 (GMT) |
commit | fb32d782f24f79257d6de2e045d2fb2208dfe995 (patch) | |
tree | 07d8888300bad9224bc2f412d7fbfb931ed7afd7 /demos/declarative/flickr/mobile/ToolBar.qml | |
parent | 0ed462973acc683882ac30ae6959340564f305a3 (diff) | |
parent | d97692f1eb18cb85830493be2e8d22fc00a85edf (diff) | |
download | Qt-fb32d782f24f79257d6de2e045d2fb2208dfe995.zip Qt-fb32d782f24f79257d6de2e045d2fb2208dfe995.tar.gz Qt-fb32d782f24f79257d6de2e045d2fb2208dfe995.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'demos/declarative/flickr/mobile/ToolBar.qml')
-rw-r--r-- | demos/declarative/flickr/mobile/ToolBar.qml | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/demos/declarative/flickr/mobile/ToolBar.qml b/demos/declarative/flickr/mobile/ToolBar.qml index 55f19d2..d8abb14 100644 --- a/demos/declarative/flickr/mobile/ToolBar.qml +++ b/demos/declarative/flickr/mobile/ToolBar.qml @@ -46,20 +46,24 @@ Item { property alias button1Label: button1.text property alias button2Label: button2.text + property alias button2Visible: button2.visible + signal button1Clicked signal button2Clicked BorderImage { source: "images/titlebar.sci"; width: parent.width; height: parent.height + 14; y: -7 } - Button { - id: button1 - anchors.left: parent.left; anchors.leftMargin: 5; y: 3; width: 140; height: 32 - onClicked: toolbar.button1Clicked() - } + Row { + anchors.right: parent.right; anchors.rightMargin: 5; y: 3; height: 32; spacing: 30 + Button { + id: button1 + width: 140; height: 32 + onClicked: toolbar.button1Clicked() + } - Button { - id: button2 - anchors.right: parent.right; anchors.rightMargin: 5; y: 3; width: 140; height: 32 - onClicked: toolbar.button2Clicked() + Button { + id: button2; width: 140; height: 32 + onClicked: toolbar.button2Clicked() + } } } |