Commit 9954bfc5 authored by Don Gagne's avatar Don Gagne

Adjust spacing to take less space

parent 1c7174f2
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
import QtQuick 2.5 import QtQuick 2.5
import QtQuick.Controls 1.3 import QtQuick.Controls 1.3
import QtQuick.Layouts 1.2
import QGroundControl.ScreenTools 1.0 import QGroundControl.ScreenTools 1.0
import QGroundControl.Controls 1.0 import QGroundControl.Controls 1.0
...@@ -89,14 +90,14 @@ Rectangle { ...@@ -89,14 +90,14 @@ Rectangle {
anchors.margins: _margins anchors.margins: _margins
spacing: _margins spacing: _margins
Grid { GridLayout {
id: valueGrid id: valueGrid
columns: 2 columns: 2
columnSpacing: _margins rowSpacing: 0
columnSpacing: _margins
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
QGCLabel { text: qsTr("Selected waypoint") } QGCLabel { text: qsTr("Selected waypoint"); Layout.columnSpan: 2 }
QGCLabel { text: qsTr(" ") }
QGCLabel { text: qsTr("Distance:") } QGCLabel { text: qsTr("Distance:") }
QGCLabel { text: _distanceText } QGCLabel { text: _distanceText }
......
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