Skip to content

Commit

Permalink
fix(HashtagButton): ellipsize (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr committed Mar 1, 2025
1 parent 30159b5 commit e029c6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Widgets/HashtagBar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ public class Tuba.Widgets.HashtagBar : Adw.Bin {
string tag;
public HashtagButton (TagExtractor.Tag hashtag) {
tag = hashtag.tag;
this.label = @"#$tag";
this.child = new Gtk.Label (@"#$tag") {
ellipsize = Pango.EllipsizeMode.END
};
}

private void on_clicked () {
Expand Down

0 comments on commit e029c6b

Please sign in to comment.