import QtQuick 1.1
import com.nokia.meego 1.0
Item {
id: appWindow
width: screen.displayWidth
height: screen.displayHeight
Label {
id: label
anchors.centerIn: parent
text: "In landscape"
font.bold: true
font.pixelSize: 40
color: "white"
}
states: State {
name: "portrait"
when: screen.currentOrientation === Screen.Portrait
PropertyChanges { target: label; text: "In portrait"; rotation: 270 }
}
}
| The Following User Says Thank You to Morpog For This Useful Post: | ||

| The Following User Says Thank You to RX-51 For This Useful Post: | ||
Stupidest idea ever
| The Following 5 Users Say Thank You to Dave999 For This Useful Post: | ||
| The Following User Says Thank You to Hariainm For This Useful Post: | ||
| The Following User Says Thank You to kingstu For This Useful Post: | ||