Commit 2b2c48ce authored by Mike Sheldon's avatar Mike Sheldon

Hide tower image when MeeGo client enters portrait mode

parent 26029929
......@@ -6,8 +6,16 @@ Page {
anchors.margins: rootWin.pageMargin
Image {
id: towerImg
id: imgLibre
source: "librefm-logo.png"
anchors.horizontalCenter: parent.horizontalCenter
z: -1
}
Image {
id: imgTower
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: imgLibre.bottom
source: "librefm-tower.png"
z: -1
}
......@@ -24,6 +32,10 @@ Page {
anchors.verticalCenterOffset: 50
anchors.horizontalCenterOffset: -60
}
PropertyChanges {
target: imgTower
visible: true
}
},
State {
name: "inPortrait"
......@@ -36,6 +48,10 @@ Page {
columns: 1
spacing: 50
}
PropertyChanges {
target: imgTower
visible: false
}
}
]
......
import QtQuick 1.1
import com.nokia.meego 1.0
Page {
id: stationPage
anchors.margins: rootWin.pageMargin
tools: commonTools
}
......@@ -56,4 +56,5 @@ OTHER_FILES += \
LoginPage.qml \
StationPage.qml \
About.qml \
librefm.qml
librefm.qml \
NewStationPage.qml
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