Launcher: indent location detail heading text.
As suggested on the devel list, this looks more comfortable with a margin set.
This commit is contained in:
parent
776588066a
commit
b210f2021d
2 changed files with 13 additions and 3 deletions
|
@ -86,7 +86,12 @@ Item {
|
|||
|
||||
StyledText { // heading text
|
||||
id: airportHeading
|
||||
width: parent.width
|
||||
anchors {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
margins: Style.margin
|
||||
}
|
||||
|
||||
font.pixelSize: Style.headingFontPixelSize
|
||||
text: isHeliport ? qsTr("Heliport: ") + airportData.ident + " / " + airportData.name
|
||||
: qsTr("Airport: ") + airportData.ident + " / " + airportData.name
|
||||
|
|
|
@ -59,14 +59,19 @@ Item {
|
|||
|
||||
StyledText { // heading text
|
||||
id: headingText
|
||||
width: parent.width
|
||||
anchors {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
margins: Style.margin
|
||||
}
|
||||
|
||||
text: qsTr("Position: %1").arg(geod.toString(0));
|
||||
font.pixelSize: Style.headingFontPixelSize
|
||||
Binding {
|
||||
when: navaidData.valid
|
||||
target: headingText
|
||||
property: "text"
|
||||
value: "Navaid: " + navaidData.ident + " / " + navaidData.name
|
||||
value: qsTr("Navaid: %1 / %2").arg(navaidData.ident).arg(navaidData.name)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue