X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=mardrone%2Fgauges%2FAttitudeGauge.qml;h=887313f74640d09323a498e1a52d374ab6707a1a;hb=bbd8212fef8322288952bf2de0800c69c0be942f;hp=15e0bca686808a2b3a6c09a5533bffa63d4e0efa;hpb=716afef67c73a8a48b536b64655c026dd3587746;p=mardrone 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