sync repo
authorKate Alhola <kate.alhola@gmail.com>
Wed, 11 Apr 2012 12:06:10 +0000 (15:06 +0300)
committerKate Alhola <kate.alhola@gmail.com>
Wed, 11 Apr 2012 12:06:10 +0000 (15:06 +0300)
mardrone/gauges/AttitudeGauge.qml

index 15e0bca..887313f 100644 (file)
@@ -13,11 +13,15 @@ Item {
        id:rollItem
        rotation: root.roll;
        anchors.centerIn:   frame
+       anchors.fill: root
+       anchors.margins: 10
        transformOrigin: Item.Center
-       scale: frame.scale*0.3
+       scale: frame.scale*0.25
        source: "ati2.png"
        Image {
           anchors.centerIn:   rollItem
+          anchors.fill: frame
+          anchors.margins:20
          /*   transformOrigin: Item.Center
         scale: frame.scale*0.4
         rotation: root.roll;*/
@@ -26,6 +30,8 @@ Item {
         }
         Image {
              anchors.centerIn: rollItem
+             anchors.fill: frame
+             anchors.margins:20
       //  scale: frame.scale*0.4
       //  transformOrigin: Item.Center
       //  rotation: root.roll;
@@ -35,6 +41,8 @@ Item {
         }
         Image {
              anchors.centerIn: rollItem
+             anchors.fill: root
+             anchors.margins:20
              transformOrigin: rollItem.Center
             //rotation: root.roll;
 
@@ -52,10 +60,10 @@ Item {
 
     Image {
         id:frame
-        anchors.fill:parent
+        anchors.fill:root
         source: "ati1.png"
     }
-    Image {
+   Image {
         id:bezelImg
         anchors.fill:parent
         source: bezel