mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
OP-1648 Only use one font for all PFD stuff
This commit is contained in:
parent
57b8014fa8
commit
c1286eb56e
@ -24,11 +24,6 @@ Rectangle {
|
||||
Item {
|
||||
id: sceneItem
|
||||
|
||||
FontLoader {
|
||||
id: pt_bold_narrow
|
||||
source: "qrc:/pfdqml/fonts/PTN77F.ttf"
|
||||
}
|
||||
|
||||
FontLoader {
|
||||
id: pt_bold
|
||||
source: "qrc:/pfdqml/fonts/PTS75F.ttf"
|
||||
|
@ -204,9 +204,9 @@ Item {
|
||||
text: ["MANUAL","STAB 1","STAB 2", "STAB 3", "STAB 4", "STAB 5", "STAB 6", "POS HOLD", "COURSELOCK",
|
||||
"POS ROAM", "HOME LEASH", "ABS POS", "RTB", "LAND", "PATHPLAN", "POI", "AUTOCRUISE"][FlightStatus.FlightMode]
|
||||
font {
|
||||
family: pt_bold_narrow.name
|
||||
pixelSize: Math.floor(parent.height * 0.8)
|
||||
weight: Font.Bold
|
||||
family: pt_bold.name
|
||||
pixelSize: Math.floor(parent.height * 0.74)
|
||||
weight: Font.DemiBold
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="/pfdqml">
|
||||
<file>fonts/PTN77F.ttf</file>
|
||||
<file>fonts/PTS75F.ttf</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user