[gnome-contacts/wip/exalm/papercuts: 2/4] contact-sheet: Set wrap mode for the name label
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/wip/exalm/papercuts: 2/4] contact-sheet: Set wrap mode for the name label
- Date: Fri, 12 Aug 2022 13:25:16 +0000 (UTC)
commit 499da554c649092b1255427b0699af614c0f2b8a
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Aug 12 16:14:36 2022 +0400
contact-sheet: Set wrap mode for the name label
Don't go offscreen with too long names.
src/contacts-contact-sheet.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/contacts-contact-sheet.vala b/src/contacts-contact-sheet.vala
index 916ddbfa..b6e71bb5 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]