Commit 8a9f0c1a authored by dogmaphobic's avatar dogmaphobic

Controls work better aesthetically when centered on the screen.

parent fe60f712
...@@ -78,7 +78,7 @@ Item { ...@@ -78,7 +78,7 @@ Item {
QGCInstrumentWidget { QGCInstrumentWidget {
anchors.margins: ScreenTools.defaultFontPixelHeight anchors.margins: ScreenTools.defaultFontPixelHeight
anchors.right: parent.right anchors.right: parent.right
anchors.bottom: parent.bottom anchors.verticalCenter: parent.verticalCenter
size: ScreenTools.defaultFontPixelSize * (9) size: ScreenTools.defaultFontPixelSize * (9)
active: _activeVehicle != null active: _activeVehicle != null
heading: _heading heading: _heading
...@@ -97,7 +97,7 @@ Item { ...@@ -97,7 +97,7 @@ Item {
id: toolColumn id: toolColumn
anchors.margins: ScreenTools.defaultFontPixelHeight anchors.margins: ScreenTools.defaultFontPixelHeight
anchors.left: parent.left anchors.left: parent.left
anchors.top: parent.top anchors.verticalCenter: parent.verticalCenter
spacing: ScreenTools.defaultFontPixelHeight spacing: ScreenTools.defaultFontPixelHeight
//-- Map Center Control //-- Map Center Control
......
...@@ -58,7 +58,7 @@ Item { ...@@ -58,7 +58,7 @@ Item {
visible: _isVisible visible: _isVisible
color: isSatellite ? Qt.rgba(1,1,1,0.75) : Qt.rgba(0,0,0,0.75) color: isSatellite ? Qt.rgba(1,1,1,0.75) : Qt.rgba(0,0,0,0.75)
anchors.right: parent.right anchors.right: parent.right
anchors.bottom: parent.bottom anchors.verticalCenter: parent.verticalCenter
Column { Column {
id: instruments id: instruments
width: parent.width width: parent.width
...@@ -187,7 +187,7 @@ Item { ...@@ -187,7 +187,7 @@ Item {
Rectangle { Rectangle {
id: openButton id: openButton
anchors.right: parent.right anchors.right: parent.right
anchors.bottom: parent.bottom anchors.verticalCenter: parent.verticalCenter
height: ScreenTools.defaultFontPixelSize * 2 height: ScreenTools.defaultFontPixelSize * 2
width: ScreenTools.defaultFontPixelSize * 2 width: ScreenTools.defaultFontPixelSize * 2
radius: ScreenTools.defaultFontPixelSize / 3 radius: ScreenTools.defaultFontPixelSize / 3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment