From: Kate Alhola Date: Wed, 11 Apr 2012 12:06:10 +0000 (+0300) Subject: sync repo X-Git-Url: https://vcs.maemo.org/git/?p=mardrone;a=commitdiff_plain;h=bbd8212fef8322288952bf2de0800c69c0be942f sync repo --- diff --git a/mardrone/gauges/AttitudeGauge.qml b/mardrone/gauges/AttitudeGauge.qml index 15e0bca..887313f 100644 --- a/mardrone/gauges/AttitudeGauge.qml +++ b/mardrone/gauges/AttitudeGauge.qml @@ -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