Ask / Submit

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-07-15 13:22:20 +0200

Hi, here is the new version. Code is different but you get the same result..

--- CallLogItem.qml     2014-07-15 12:13:40.301305020 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml     2014-07-15 12:12:35.131764359 +0200
@@ -110,12 +110,23 @@ ListItem {
     Label {
         anchors {
             top: description.bottom
-            right: description.right
+            left: phoneNumber.right
         }
         font.pixelSize: Theme.fontSizeExtraSmall
-        text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
+        text: " " + numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
         color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
     }
+    
+    Label {
+       id: phoneNumber
+        anchors {
+            top: description.bottom
+            left: description.left
+        }
+        font.pixelSize: Theme.fontSizeExtraSmall
+        text: CallLog.formatNumber(remoteUid)
+        color: highlighted ? Theme.secondaryHighlightColor : primaryColor 
+    }

     Image {
         id: icon

Hi, here is the new version. Code is different but you get the same result..

--- CallLogItem.qml     2014-07-15 12:13:40.301305020 +0200
+++ /usr/share/voicecall-ui-jolla/qml/pages/calllog/CallLogItem.qml     2014-07-15 12:12:35.131764359 +0200
@@ -110,12 +110,23 @@ ListItem {
     Label {
         anchors {
             top: description.bottom
-            right: description.right
+            left: phoneNumber.right
         }
         font.pixelSize: Theme.fontSizeExtraSmall
-        text: numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
+        text: " " + numberDetail + (numberDetail.length && connectionDetail.length ? " | " : "") + connectionDetail
         color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
     }
+    
+    Label {
+       id: phoneNumber
+        anchors {
+            top: description.bottom
+            left: description.left
+        }
+        font.pixelSize: Theme.fontSizeExtraSmall
+        text: CallLog.formatNumber(remoteUid)
person ? CallLog.formatNumber(remoteUid) : " "
+        color: highlighted ? Theme.secondaryHighlightColor : primaryColor 
+    }

     Image {
         id: icon