Ask / Submit

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-06-11 12:52:55 +0200

Here is a quick modification for the new update i put together. IMHO looks better this way, plus you have the number displayed too.

--- CallLogItem.qml     2014-06-11 10:57:14.643409228 +0200                                                                                              
+++ CallLogItem.qml_mod 2014-06-11 11:49:10.395167585 +0200
@@ -78,7 +78,7 @@
                 width: Math.min(implicitWidth, parent.width)
             }
             Label {
-                text: people.populated && person ? person.secondaryName : ""
+                text: people.populated && person ? " " + person.secondaryName : ""
                 color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
                 truncationMode: TruncationMode.Fade
                 width: Math.min(implicitWidth, parent.width - firstNameText.width)
@@ -104,16 +104,27 @@
             }
         }
     }
-
     Label {
+       opacity: 0.8
         anchors {
             top: description.bottom
-            right: description.right
+            left: contactNumber.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: contactNumber
+       opacity: 0.8
+        anchors {
+            top: description.bottom
+            left: description.left
+        }
+        font.pixelSize: Theme.fontSizeExtraSmall
+        text: (numberDetail.length && connectionDetail.length ? " | " : "") + main.formatNumber(remoteUid)
+        color: highlighted ? Theme.secondaryHighlightColor : primaryColor
+    }

Here is a quick modification for i put together (for the new update i put together. update: 1.0.7.16, Saapunki). IMHO looks better this way, plus you have the number displayed too.

--- CallLogItem.qml     2014-06-11 10:57:14.643409228 +0200                                                                                              
+++ CallLogItem.qml_mod 2014-06-11 11:49:10.395167585 +0200
@@ -78,7 +78,7 @@
                 width: Math.min(implicitWidth, parent.width)
             }
             Label {
-                text: people.populated && person ? person.secondaryName : ""
+                text: people.populated && person ? " " + person.secondaryName : ""
                 color: highlighted ? Theme.secondaryHighlightColor : secondaryColor
                 truncationMode: TruncationMode.Fade
                 width: Math.min(implicitWidth, parent.width - firstNameText.width)
@@ -104,16 +104,27 @@
             }
         }
     }
-
     Label {
+       opacity: 0.8
         anchors {
             top: description.bottom
-            right: description.right
+            left: contactNumber.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: contactNumber
+       opacity: 0.8
+        anchors {
+            top: description.bottom
+            left: description.left
+        }
+        font.pixelSize: Theme.fontSizeExtraSmall
+        text: (numberDetail.length && connectionDetail.length ? " | " : "") + main.formatNumber(remoteUid)
+        color: highlighted ? Theme.secondaryHighlightColor : primaryColor
+    }