Locked to landscape
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Sat, 13 Aug 2011 07:47:33 +0000 (10:47 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Sat, 13 Aug 2011 07:47:33 +0000 (10:47 +0300)
qml/AboutPage.qml
qml/ClocksPage.qml
qml/MainPage.qml

index 8846bea..ce8f312 100644 (file)
@@ -28,6 +28,7 @@ Page
 {
     id: aboutPage
 //    tools: commonTools
+    orientationLock: PageOrientation.LockLandscape
 
     tools: ToolBarLayout {
         ToolButton { iconSource: "toolbar-back"; onClicked: pageStack.pop() }
index f09acca..8860abe 100644 (file)
@@ -37,6 +37,8 @@ Page
     property int whiteTurnsPerAddition
     property int blackTurnsPerAddition
 
+    orientationLock: PageOrientation.LockLandscape
+
     onStatusChanged:
     {
         if (status == PageStatus.Activating)
index 27f1fc6..26877d4 100644 (file)
@@ -29,6 +29,7 @@ import com.nokia.extras 1.0
 Page {
     id: mainPage
     tools: commonTools
+    orientationLock: PageOrientation.LockLandscape