[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/akonadi
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2010-12-22 14:15:23
Message-ID: 20101222141523.ADD90AC8AA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1208613 by tokoe:

Some smaller layout and appearance changes


 M  +21 -1     CollectionDialogMobile.qml  


--- trunk/KDE/kdepimlibs/akonadi/CollectionDialogMobile.qml #1208612:1208613
@@ -10,8 +10,11 @@
     id : descriptionText
     anchors.top : parent.top
     anchors.left : parent.left
+    anchors.leftMargin : 15
     height : text == "" ? 0 : 20
     text : dialogController.descriptionText
+    font.bold : true
+    verticalAlignment : QML.Text.AlignVCenter
   }
 
   QML.ListView {
@@ -19,7 +22,9 @@
     anchors.top : descriptionText.bottom
     anchors.topMargin : 20
     anchors.left : parent.left
+    anchors.leftMargin : 15
     anchors.right : parent.right
+    anchors.rightMargin : 15
     anchors.bottom : filterLine.top
     clip : true
     boundsBehavior : QML.Flickable.StopAtBounds
@@ -33,7 +38,7 @@
       QML.Rectangle {
         anchors.fill : parent
         color : "lightsteelblue"
-        opacity : QML.ListView.isCurrentItem ? 0.25 : 0
+        opacity : QML.ListView.isCurrentItem ? 0.30 : 0
         radius : 10
       }
 
@@ -61,16 +66,30 @@
 
   QML.TextInput {
     id : filterLine
+    anchors.topMargin : 5
     anchors.left : parent.left
+    anchors.leftMargin : 20
     anchors.right : parent.right
+    anchors.rightMargin : 20
     anchors.bottom : okButton.top
+    anchors.bottomMargin : 5
 
     focus : true
     height : text == "" ? 0 : 20
     opacity : text == "" ? 0 : 1
 
     onTextChanged : dialogController.setFilterText( text )
+
+    QML.Rectangle {
+      anchors.fill : parent
+      anchors.leftMargin : -5
+      anchors.rightMargin : -5
+      z: parent.z - 1
+      color : "lightsteelblue"
+      opacity : 0.50
+      radius : 5
   }
+  }
 
   KPIM.Button2 {
     id : createButton
@@ -99,6 +118,7 @@
   KPIM.Button2 {
     id: cancelButton
     anchors.right : parent.right
+    anchors.rightMargin: 15
     anchors.bottom : parent.bottom
     width : 150
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic