Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
99c062d3
Commit
99c062d3
authored
May 02, 2017
by
Don Gagne
Committed by
GitHub
May 02, 2017
Browse files
Merge pull request #5075 from DonLakeFlyer/PlanToolbar
Plan toolbar: Adjust alignment to prevent overlap
parents
0a09bb4b
19296fe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/PlanView/PlanToolBar.qml
View file @
99c062d3
...
...
@@ -138,20 +138,22 @@ Rectangle {
visible
:
false
}
RowLayout
{
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
spacing
:
_margins
*
2
GridLayout
{
anchors.top
:
parent
.
top
anchors.bottom
:
parent
.
bottom
anchors.leftMargin
:
_margins
anchors.rightMargin
:
_margins
anchors.left
:
logoRow
.
right
anchors.leftMargin
:
_margins
*
4
anchors.right
:
uploadButton
.
visible
?
uploadButton
.
left
:
parent
.
right
anchors.rightMargin
:
_margins
columnSpacing
:
0
//_margins
columns
:
3
GridLayout
{
anchors.verticalCenter
:
parent
.
verticalCenter
columns
:
8
rowSpacing
:
_rowSpacing
columnSpacing
:
_labelToValueSpacing
Layout.alignment
:
Qt
.
AlignHCenter
QGCLabel
{
text
:
qsTr
(
"
Selected Waypoint
"
)
...
...
@@ -206,6 +208,7 @@ Rectangle {
columns
:
5
rowSpacing
:
_rowSpacing
columnSpacing
:
_labelToValueSpacing
Layout.alignment
:
Qt
.
AlignHCenter
QGCLabel
{
text
:
qsTr
(
"
Total Mission
"
)
...
...
@@ -242,6 +245,7 @@ Rectangle {
columns
:
3
rowSpacing
:
_rowSpacing
columnSpacing
:
_labelToValueSpacing
Layout.alignment
:
Qt
.
AlignHCenter
QGCLabel
{
text
:
qsTr
(
"
Battery
"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment