summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2022-08-12 16:14:36 +0400
committerNiels De Graef <nielsdegraef@gmail.com>2022-08-12 16:32:24 +0000
commit63da3cc0ed8a1475737904017dbfcd01ed083602 (patch)
tree287beadce46dd0176e0be6d211ef881e903c5cf3 /src
parent8ebebd0b3751a608ffb4b090240cfa43b0031bdf (diff)
downloadgnome-contacts-63da3cc0ed8a1475737904017dbfcd01ed083602.tar.gz
contact-sheet: Set wrap mode for the name label
Don't go offscreen with too long names.
Diffstat (limited to 'src')
-rw-r--r--src/contacts-contact-sheet.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/contacts-contact-sheet.vala b/src/contacts-contact-sheet.vala
index 916ddbf..b6e71bb 100644
--- a/src/contacts-contact-sheet.vala
+++ b/src/contacts-contact-sheet.vala
@@ -170,6 +170,7 @@ public class Contacts.ContactSheet : Gtk.Grid {
name_label.hexpand = true;
name_label.xalign = 0f;
name_label.wrap = true;
+ name_label.wrap_mode = WORD_CHAR;
name_label.lines = 4;
name_label.width_chars = 10;
name_label.selectable = true;