From 355ef56d421f34ba0969248a7851a916761b147c Mon Sep 17 00:00:00 2001 From: mimi89999 Date: Tue, 19 Jan 2021 13:48:35 +0100 Subject: [PATCH] Ellipsize long titles --- main/src/ui/conversation_titlebar/conversation_titlebar.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/ui/conversation_titlebar/conversation_titlebar.vala b/main/src/ui/conversation_titlebar/conversation_titlebar.vala index 1302bdfa..60d8286b 100644 --- a/main/src/ui/conversation_titlebar/conversation_titlebar.vala +++ b/main/src/ui/conversation_titlebar/conversation_titlebar.vala @@ -29,7 +29,7 @@ public class ConversationTitlebarNoCsd : ConversationTitlebar, Gtk.Box { } private Box widgets_box = new Box(Orientation.HORIZONTAL, 0) { margin_start=15, valign=Align.END, visible=true }; - private Label title_label = new Label("") { visible=true }; + private Label title_label = new Label("") { ellipsize=EllipsizeMode.END, visible=true }; private Label subtitle_label = new Label("") { use_markup=true, ellipsize=EllipsizeMode.END, visible=false }; construct {