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
1=== modified file 'components/Avatar.qml'
2--- components/Avatar.qml 2015-04-21 14:52:57 +0000
3+++ components/Avatar.qml 2015-04-27 13:13:02 +0000
4@@ -30,6 +30,8 @@
5 Image {
6 id: photoImage
7 anchors.centerIn: parent
8+ width: hasChatPhoto ? parent.width : units.gu(4)
9+ height: hasChatPhoto ? parent.height : units.gu(4)
10 antialiasing: true
11 asynchronous: true
12 source: !hasChatPhoto && !hasChatId ? logo : chatPhoto

Subscribers

People subscribed via source and target branches

to all changes: