Commit 82615ff2 authored by Mike Sheldon's avatar Mike Sheldon

Hide tower image when MeeGo client enters portrait mode

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