From fb372dedc6ad2b4949a7fe859fccc7f64b432b83 Mon Sep 17 00:00:00 2001 From: Evangelos Paterakis Date: Mon, 21 Nov 2022 17:25:36 +0200 Subject: [PATCH] fix: profile fields wrapping long strings would change the minimum window width --- src/Views/Profile.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Views/Profile.vala b/src/Views/Profile.vala index 762c5bc..3d58970 100644 --- a/src/Views/Profile.vala +++ b/src/Views/Profile.vala @@ -58,7 +58,8 @@ public class Tooth.Views.Profile : Views.Timeline { foreach (API.AccountField f in account.fields) { var row = new Adw.ActionRow (); var val = new Widgets.RichLabel (HtmlUtils.simplify (f.val)); - val.wrap = false; + val.wrap = true; + val.hexpand = true; val.xalign = 1; row.title = f.name; row.add_suffix (val);