[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim] 8041788: Move quick filter below message list
From: Tobias Koenig <tokoe () kde ! org>
Date: 2011-01-17 10:09:24
Message-ID: 20110117100924.C9EDDA6090 () git ! kde ! org
[Download RAW message or body]
commit 8041788b9fa632927fa22e013e5f9cb5b8d693e1
branch master
Author: Tobias Koenig <tokoe@kde.org>
Date: Mon Jan 17 11:13:23 2011 +0100
Move quick filter below message list
Make message list quick filter consistent with
other kontact-touch applications by moving the
line edit below the list.
diff --git a/mobile/mail/kmail-mobile.qml b/mobile/mail/kmail-mobile.qml
index fae1896..4546678 100644
--- a/mobile/mail/kmail-mobile.qml
+++ b/mobile/mail/kmail-mobile.qml
@@ -278,26 +278,27 @@ KPIM.MainView {
anchors.right : parent.right
color : "#00000000"
- Akonadi.FilterLineEdit {
- id: filterLineEdit
- anchors.left : parent.left
- anchors.top : parent.top
- anchors.right : parent.right
- visible : false
- height : 0
- }
HeaderView {
id : threadView
model : _threads
anchors.left : parent.left
- anchors.top : filterLineEdit.bottom
- anchors.bottom : parent.bottom
+ anchors.top : parent.top
+ anchors.bottom : filterLineEdit.top
anchors.right : parent.right
navigationModel : _threadSelector
showDeleteButton : false // too easy to accidentally hit it, although very useful...
opacity : threadContentsViewContainer.opacity == 0 ? 1 : 0
showSections : messageListSettings.groupingRole != ""
}
+ Akonadi.FilterLineEdit {
+ id: filterLineEdit
+ anchors.left : parent.left
+ anchors.bottom : parent.bottom
+ anchors.right : parent.right
+ visible : false
+ height : 0
+ y : height == 0 ? parent.height : parent.height - height
+ }
QML.Connections {
target : _threadSelector
onCurrentRowChanged : {
@@ -319,8 +320,8 @@ KPIM.MainView {
QML.Item {
id : threadContentsViewContainer
anchors.left : parent.left
- anchors.top : filterLineEdit.bottom
- anchors.bottom : parent.bottom
+ anchors.top : parent.top
+ anchors.bottom : filterLineEdit.top
anchors.right : parent.right
opacity : threadContentsView.count > 1 ? 1 : 0
KPIM.Button2 {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic