From 4bdffa9cc1f50fcaa5259a6855f90b6ae3c942ac Mon Sep 17 00:00:00 2001 From: Sergey Date: Wed, 24 Mar 2021 19:45:54 +0300 Subject: [PATCH] Fix accounts panel width (#1017) fixes #797 --- main/src/ui/util/label_hybrid.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/ui/util/label_hybrid.vala b/main/src/ui/util/label_hybrid.vala index 8ca56316..b992f169 100644 --- a/main/src/ui/util/label_hybrid.vala +++ b/main/src/ui/util/label_hybrid.vala @@ -5,7 +5,7 @@ namespace Dino.Ui.Util { public class LabelHybrid : Stack { - public Label label = new Label("") { visible=true }; + public Label label = new Label("") { visible=true, max_width_chars=1, ellipsize=Pango.EllipsizeMode.END }; protected Button button = new Button() { relief=ReliefStyle.NONE, visible=true }; internal virtual void init(Widget widget) {