diff options
Diffstat (limited to 'src/hmi/qml/NavigationRoute.qml')
-rw-r--r-- | src/hmi/qml/NavigationRoute.qml | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/hmi/qml/NavigationRoute.qml b/src/hmi/qml/NavigationRoute.qml index d44b295..fb337ee 100644 --- a/src/hmi/qml/NavigationRoute.qml +++ b/src/hmi/qml/NavigationRoute.qml @@ -112,11 +112,8 @@ HMIMenu { text: Genivi.gettext("EnteredLocation") } - Text { + SmartText { x:StyleSheet.locationValue[Constants.X]; y:StyleSheet.locationValue[Constants.Y]; width:StyleSheet.locationValue[Constants.WIDTH]; height:StyleSheet.locationValue[Constants.HEIGHT];color:StyleSheet.locationValue[Constants.TEXTCOLOR];styleColor:StyleSheet.locationValue[Constants.STYLECOLOR]; font.pixelSize:StyleSheet.locationValue[Constants.PIXELSIZE]; - style: Text.Sunken; - smooth: true - scale: paintedWidth > width ? (width / paintedWidth) : 1 id:locationValue } @@ -128,11 +125,8 @@ HMIMenu { text: Genivi.gettext("Position") } - Text { + SmartText { x:StyleSheet.positionValue[Constants.X]; y:StyleSheet.positionValue[Constants.Y]; width:StyleSheet.positionValue[Constants.WIDTH]; height:StyleSheet.positionValue[Constants.HEIGHT];color:StyleSheet.positionValue[Constants.TEXTCOLOR];styleColor:StyleSheet.positionValue[Constants.STYLECOLOR]; font.pixelSize:StyleSheet.positionValue[Constants.PIXELSIZE]; - style: Text.Sunken; - smooth: true - scale: paintedWidth > width ? (width / paintedWidth) : 1 id:positionValue } @@ -144,11 +138,8 @@ HMIMenu { text: Genivi.gettext("Destination") } - Text { + SmartText { x:StyleSheet.destinationValue[Constants.X]; y:StyleSheet.destinationValue[Constants.Y]; width:StyleSheet.destinationValue[Constants.WIDTH]; height:StyleSheet.destinationValue[Constants.HEIGHT];color:StyleSheet.destinationValue[Constants.TEXTCOLOR];styleColor:StyleSheet.destinationValue[Constants.STYLECOLOR]; font.pixelSize:StyleSheet.destinationValue[Constants.PIXELSIZE]; - style: Text.Sunken; - smooth: true - scale: paintedWidth > width ? (width / paintedWidth) : 1 id:destinationValue } |