Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
8a9f0c1a
Commit
8a9f0c1a
authored
Oct 27, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Controls work better aesthetically when centered on the screen.
parent
fe60f712
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
31 deletions
+31
-31
FlightDisplayViewWidgets.qml
src/FlightDisplay/FlightDisplayViewWidgets.qml
+15
-15
QGCInstrumentWidget.qml
src/FlightMap/Widgets/QGCInstrumentWidget.qml
+16
-16
No files found.
src/FlightDisplay/FlightDisplayViewWidgets.qml
View file @
8a9f0c1a
...
@@ -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
...
...
src/FlightMap/Widgets/QGCInstrumentWidget.qml
View file @
8a9f0c1a
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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