diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-22 11:15:03 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-22 11:15:03 +0100 |
commit | 0b46bd0e1c5a7320af7a596e12daa531aea49f8c (patch) | |
tree | 9aa990d49d83ab2c7e5401540819465dadb93725 /applications | |
parent | 12160008f45b2b470d29ff475fc3e7eb3a263ebd (diff) | |
download | kube-0b46bd0e1c5a7320af7a596e12daa531aea49f8c.tar.gz kube-0b46bd0e1c5a7320af7a596e12daa531aea49f8c.zip |
Moved the logo to the right so we have room on the left for buttons
Diffstat (limited to 'applications')
-rw-r--r-- | applications/kube-mail/package/contents/ui/main.qml | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/applications/kube-mail/package/contents/ui/main.qml b/applications/kube-mail/package/contents/ui/main.qml index 5549bcde..82b5d916 100644 --- a/applications/kube-mail/package/contents/ui/main.qml +++ b/applications/kube-mail/package/contents/ui/main.qml | |||
@@ -67,24 +67,6 @@ ApplicationWindow { | |||
67 | Row { | 67 | Row { |
68 | anchors.fill: parent | 68 | anchors.fill: parent |
69 | 69 | ||
70 | Rectangle { | ||
71 | height: parent.height | ||
72 | color: "transparent" | ||
73 | Image { | ||
74 | id: img | ||
75 | height: parent.height | ||
76 | fillMode: Image.PreserveAspectCrop | ||
77 | anchors { | ||
78 | verticalCenter: parent.verticalCenter | ||
79 | left: parent.left | ||
80 | leftMargin: -20 | ||
81 | } | ||
82 | source: "image://kube/kube_logo" | ||
83 | sourceSize.height: parent.height * 2.5 | ||
84 | } | ||
85 | width: img.width * 0.7 | ||
86 | } | ||
87 | |||
88 | PlasmaComponents.ToolButton { | 70 | PlasmaComponents.ToolButton { |
89 | height: parent.height | 71 | height: parent.height |
90 | iconName: "mail-message-new" | 72 | iconName: "mail-message-new" |
@@ -122,6 +104,28 @@ ApplicationWindow { | |||
122 | deleteAction.execute() | 104 | deleteAction.execute() |
123 | } | 105 | } |
124 | } | 106 | } |
107 | |||
108 | |||
109 | } | ||
110 | Rectangle { | ||
111 | anchors { | ||
112 | right: parent.right | ||
113 | } | ||
114 | height: parent.height | ||
115 | color: "transparent" | ||
116 | Image { | ||
117 | id: img | ||
118 | height: parent.height | ||
119 | fillMode: Image.PreserveAspectCrop | ||
120 | anchors { | ||
121 | verticalCenter: parent.verticalCenter | ||
122 | left: parent.left | ||
123 | leftMargin: -20 | ||
124 | } | ||
125 | source: "image://kube/kube_logo" | ||
126 | sourceSize.height: parent.height * 2.5 | ||
127 | } | ||
128 | width: img.width * 0.7 | ||
125 | } | 129 | } |
126 | } | 130 | } |
127 | 131 | ||