mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-1354 Current_voltage_fixes_and_more_in_PFD : Minor changes to remove some glitches
This commit is contained in:
parent
529cf301b0
commit
98af0a544f
@ -9,7 +9,7 @@ Item {
|
||||
sceneSize: info.sceneSize
|
||||
elementName: "info-bg"
|
||||
width: parent.width
|
||||
anchors.fill: parent.top
|
||||
//anchors.top: parent.top
|
||||
}
|
||||
|
||||
SvgElementImage {
|
||||
@ -154,6 +154,7 @@ Item {
|
||||
property int minThrottleNumber : index+1
|
||||
elementName: "eng" + minThrottleNumber
|
||||
sceneSize: info.sceneSize
|
||||
|
||||
visible: throttleNumberBar.throttleNumber >= minThrottleNumber
|
||||
}
|
||||
}
|
||||
@ -186,7 +187,6 @@ Item {
|
||||
id: info_border
|
||||
elementName: "info-border"
|
||||
sceneSize: info.sceneSize
|
||||
width: Math.floor(parent.width * 1.01)
|
||||
anchors.fill: parent.top
|
||||
width: Math.floor(parent.width * 1.009)
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ Rectangle {
|
||||
sceneSize: Qt.size(width, height)
|
||||
|
||||
Rectangle {
|
||||
width: Math.floor(parent.paintedHeight * 1.32)
|
||||
width: Math.floor(parent.paintedHeight * 1.319)
|
||||
height: Math.floor(parent.paintedHeight - parent.paintedHeight * 0.008)
|
||||
|
||||
color: "transparent"
|
||||
@ -25,7 +25,7 @@ Rectangle {
|
||||
id: sceneItem
|
||||
|
||||
|
||||
width: Math.floor((parent.paintedHeight * 1.32) - (parent.paintedHeight * 0.015))
|
||||
width: Math.floor((parent.paintedHeight * 1.32) - (parent.paintedHeight * 0.013))
|
||||
height: Math.floor(parent.paintedHeight - parent.paintedHeight * 0.02)
|
||||
property variant viewportSize : Qt.size(width, height)
|
||||
|
||||
|
@ -10,8 +10,8 @@ Item {
|
||||
id: warning_bg
|
||||
elementName: "warnings-bg"
|
||||
sceneSize: warnings.sceneSize
|
||||
width: parent.width + 4
|
||||
anchors.fill: parent.bottom
|
||||
width: background.width
|
||||
anchors.bottom: parent.bottom
|
||||
}
|
||||
|
||||
SvgElementPositionItem {
|
||||
@ -103,7 +103,7 @@ Item {
|
||||
id: warning_battery
|
||||
elementName: "warning-battery"
|
||||
sceneSize: warnings.sceneSize
|
||||
|
||||
anchors.right: parent.right
|
||||
visible: SystemAlarms.Alarm_Battery > 1
|
||||
}
|
||||
|
||||
@ -111,7 +111,6 @@ Item {
|
||||
id: warning_attitude
|
||||
elementName: "warning-attitude"
|
||||
sceneSize: warnings.sceneSize
|
||||
|
||||
visible: SystemAlarms.Alarm_Attitude > 1
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user