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
4530e96d
Commit
4530e96d
authored
Oct 26, 2015
by
dogmaphobic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sizes on Android
parent
2114e760
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
QGCInstrumentWidget.qml
src/FlightMap/Widgets/QGCInstrumentWidget.qml
+5
-5
QGCPitchIndicator.qml
src/FlightMap/Widgets/QGCPitchIndicator.qml
+4
-2
No files found.
src/FlightMap/Widgets/QGCInstrumentWidget.qml
View file @
4530e96d
...
...
@@ -52,14 +52,14 @@ Item {
anchors.right
:
parent
.
right
anchors.bottom
:
parent
.
bottom
height
:
root
.
size
width
:
instruments
.
width
+
8
width
:
instruments
.
width
+
ScreenTools
.
defaultFontPixelSize
radius
:
root
.
size
/
2
visible
:
_isVisible
color
:
isSatellite
?
Qt
.
rgba
(
1
,
1
,
1
,
0.5
)
:
Qt
.
rgba
(
0
,
0
,
0
,
0.5
)
Row
{
id
:
instruments
height
:
parent
.
height
spacing
:
4
spacing
:
ScreenTools
.
defaultFontPixelSize
/
2
anchors.horizontalCenter
:
parent
.
horizontalCenter
QGCAttitudeWidget
{
id
:
attitude
...
...
@@ -87,9 +87,9 @@ Item {
id
:
openButton
anchors.right
:
parent
.
right
anchors.bottom
:
parent
.
bottom
height
:
24
width
:
24
radius
:
4
height
:
ScreenTools
.
defaultFontPixelSize
*
2
width
:
ScreenTools
.
defaultFontPixelSize
*
2
radius
:
ScreenTools
.
defaultFontPixelSize
/
3
visible
:
!
_isVisible
color
:
isSatellite
?
Qt
.
rgba
(
1
,
1
,
1
,
0.5
)
:
Qt
.
rgba
(
0
,
0
,
0
,
0.5
)
Image
{
...
...
src/FlightMap/Widgets/QGCPitchIndicator.qml
View file @
4530e96d
...
...
@@ -34,13 +34,15 @@ import QGroundControl.Controls 1.0
Rectangle
{
property
real
pitchAngle
:
0
property
real
rollAngle
:
0
property
real
size
:
100
property
real
size
:
_defaultSize
property
real
_reticleHeight
:
1
property
real
_reticleSpacing
:
size
*
0.15
property
real
_reticleSlot
:
_reticleSpacing
+
_reticleHeight
property
real
_longDash
:
size
*
0.40
property
real
_shortDash
:
size
*
0.25
property
real
_fontSize
:
ScreenTools
.
defaultFontPixelSize
*
(
size
/
100
)
property
real
_fontSize
:
ScreenTools
.
defaultFontPixelSize
*
(
size
/
_defaultSize
)
property
real
_defaultSize
:
ScreenTools
.
isAndroid
?
300
:
100
height
:
size
*
0.9
width
:
size
...
...
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