From 932140cdd4806398f3e48be76f76abb5ab1d550b Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig <1498135+alyssarosenzweig@users.noreply.github.com> Date: Mon, 13 Jul 2020 04:41:39 -0400 Subject: dino: Center phone/laptop icon in tooltip (#878) So it lines up nicely with the text instead of being awkwardly raised above the text. Signed-off-by: Alyssa Rosenzweig --- main/src/ui/conversation_selector/conversation_selector_row.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src/ui') diff --git a/main/src/ui/conversation_selector/conversation_selector_row.vala b/main/src/ui/conversation_selector/conversation_selector_row.vala index 665e49ca..7ad485a3 100644 --- a/main/src/ui/conversation_selector/conversation_selector_row.vala +++ b/main/src/ui/conversation_selector/conversation_selector_row.vala @@ -272,7 +272,7 @@ public class ConversationSelectorRow : ListBoxRow { if (show == null) continue; Xep.ServiceDiscovery.Identity? identity = stream_interactor.get_module(EntityInfo.IDENTITY).get_identity(conversation.account, full_jid); - Image image = new Image() { hexpand=false, valign=Align.START, visible=true }; + Image image = new Image() { hexpand=false, valign=Align.CENTER, visible=true }; if (identity != null && (identity.type_ == Xep.ServiceDiscovery.Identity.TYPE_PHONE || identity.type_ == Xep.ServiceDiscovery.Identity.TYPE_TABLET)) { image.set_from_icon_name("dino-device-phone-symbolic", IconSize.SMALL_TOOLBAR); } else { -- cgit v1.2.3-70-g09d2