fix: simplify profile links and don't wrap
This commit is contained in:
parent
2485871622
commit
c595a0889c
|
@ -56,7 +56,8 @@ public class Tootle.Views.Profile : Views.Timeline {
|
|||
if (account.fields != null) {
|
||||
foreach (API.AccountField f in account.fields) {
|
||||
var row = new Adw.ActionRow ();
|
||||
var val = new Widgets.RichLabel (f.val);
|
||||
var val = new Widgets.RichLabel (HtmlUtils.simplify (f.val));
|
||||
val.wrap = false;
|
||||
val.xalign = 1;
|
||||
row.title = f.name;
|
||||
row.add_suffix (val);
|
||||
|
|
|
@ -13,6 +13,11 @@ public class Tootle.Widgets.RichLabel : Adw.Bin {
|
|||
set { widget.label = value; }
|
||||
}
|
||||
|
||||
public bool wrap {
|
||||
get { return widget.wrap; }
|
||||
set { widget.wrap = value; }
|
||||
}
|
||||
|
||||
public bool selectable {
|
||||
get { return widget.selectable; }
|
||||
set { widget.selectable = value; }
|
||||
|
|
Loading…
Reference in New Issue