Merge lp:~libqtelegram-team/telegram-app/app-dev-fix-header-tg-icon-size into lp:telegram-app/app-dev

Proposed by Michał Karnicki
Status: Merged
Approved by: Roberto Mier Escandon
Approved revision: 322
Merged at revision: 322
Proposed branch: lp:~libqtelegram-team/telegram-app/app-dev-fix-header-tg-icon-size
Merge into: lp:telegram-app/app-dev
Diff against target: 12 lines (+2/-0)
1 file modified
components/Avatar.qml (+2/-0)
To merge this branch: bzr merge lp:~libqtelegram-team/telegram-app/app-dev-fix-header-tg-icon-size
Reviewer Review Type Date Requested Status
Roberto Mier Escandon (community) Approve
Review via email: mp+257525@code.launchpad.net

Description of the change

Fixed Telegram icon size in the header. In higher res screen, the icon was smaller than it should. Tested size on krillin only.

To post a comment you must log in.
Revision history for this message
Roberto Mier Escandon (rmescandon) wrote :

lgtm

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'components/Avatar.qml'
--- components/Avatar.qml 2015-04-21 14:52:57 +0000
+++ components/Avatar.qml 2015-04-27 13:13:02 +0000
@@ -30,6 +30,8 @@
30 Image {30 Image {
31 id: photoImage31 id: photoImage
32 anchors.centerIn: parent32 anchors.centerIn: parent
33 width: hasChatPhoto ? parent.width : units.gu(4)
34 height: hasChatPhoto ? parent.height : units.gu(4)
33 antialiasing: true35 antialiasing: true
34 asynchronous: true36 asynchronous: true
35 source: !hasChatPhoto && !hasChatId ? logo : chatPhoto37 source: !hasChatPhoto && !hasChatId ? logo : chatPhoto

Subscribers

People subscribed via source and target branches

to all changes: