fix: profile fields wrapping

long strings would change the minimum window width
This commit is contained in:
Evangelos Paterakis 2022-11-21 17:25:36 +02:00
parent 31d33343b0
commit fb372dedc6
No known key found for this signature in database
GPG key ID: FE5185F095BFC8C9

View file

@ -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);