Ellipsize long titles

This commit is contained in:
mimi89999 2021-01-19 13:48:35 +01:00 committed by fiaxh
parent f2662b21c1
commit f94d8f56c7

View file

@ -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 {