Skip to content

Commit

Permalink
Instruments and indicators update
Browse files Browse the repository at this point in the history
  • Loading branch information
MishkaRogachev committed Mar 6, 2019
1 parent 51bf08d commit ddc5522
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 2ndparty/industrial-controls
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RowLayout {
State {
name: "BAD"
PropertyChanges { target: icon; color: Indicators.Theme.dangerColor }
PropertyChanges { target: icon; source: "qrc:/icons/remove.svg" }
PropertyChanges { target: icon; source: "qrc:/icons/close.svg" }
},
State {
name: "UNACTIVE"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ BaseInstrument {
text: qsTr("Lat.: ") + (dmsFormat ?
Controls.Helper.degreesToDmsString(vehicle.satellite.coordinate.latitude, false, 2) :
Controls.Helper.degreesToString(vehicle.satellite.coordinate.latitude, 6))
font.pixelSize: industrial.fontSize * 0.6
font.pixelSize: industrial.auxFontSize * 0.75
}

DashboardControls.Label {
color: snsIcon.color
text: qsTr("Lon.: ") + (dmsFormat ?
Controls.Helper.degreesToDmsString(vehicle.satellite.coordinate.longitude, true, 2) :
Controls.Helper.degreesToString(vehicle.satellite.coordinate.longitude, 6))
font.pixelSize: industrial.fontSize * 0.6
font.pixelSize: industrial.auxFontSize * 0.75
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ BaseDisplay {
anchors.right: parent.right
anchors.rightMargin: industrial.margins
width: dashboardWidth
height: Math.min(parent.height - topBarDelegate.height - industrial.spacing, contentHeight)
height: Math.min(main.height - topBarDelegate.height - industrial.spacing, contentHeight)
flickableDirection: Flickable.AutoFlickIfNeeded
boundsBehavior: Flickable.StopAtBounds
spacing: industrial.spacing
Expand Down

0 comments on commit ddc5522

Please sign in to comment.