Commit 8a9f0c1a authored by dogmaphobic's avatar dogmaphobic

Controls work better aesthetically when centered on the screen.

parent fe60f712
......@@ -78,7 +78,7 @@ Item {
QGCInstrumentWidget {
anchors.margins: ScreenTools.defaultFontPixelHeight
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.verticalCenter: parent.verticalCenter
size: ScreenTools.defaultFontPixelSize * (9)
active: _activeVehicle != null
heading: _heading
......@@ -97,7 +97,7 @@ Item {
id: toolColumn
anchors.margins: ScreenTools.defaultFontPixelHeight
anchors.left: parent.left
anchors.top: parent.top
anchors.verticalCenter: parent.verticalCenter
spacing: ScreenTools.defaultFontPixelHeight
//-- Map Center Control
......
......@@ -58,7 +58,7 @@ Item {
visible: _isVisible
color: isSatellite ? Qt.rgba(1,1,1,0.75) : Qt.rgba(0,0,0,0.75)
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.verticalCenter: parent.verticalCenter
Column {
id: instruments
width: parent.width
......@@ -187,7 +187,7 @@ Item {
Rectangle {
id: openButton
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.verticalCenter: parent.verticalCenter
height: ScreenTools.defaultFontPixelSize * 2
width: ScreenTools.defaultFontPixelSize * 2
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