mirror of
https://github.com/TakeV-Lambda/Tooth.git
synced 2024-09-27 13:13:20 +00:00
fix: profile fields wrapping
long strings would change the minimum window width
This commit is contained in:
parent
31d33343b0
commit
fb372dedc6
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue