[epiphany] ephy-notification: Wrap labels to fit in mobile view
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-notification: Wrap labels to fit in mobile view
- Date: Sun, 28 Jun 2020 12:53:45 +0000 (UTC)
commit 213f960ab825d724df65f5696b5fd90e0b606c4e
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Sun Jun 28 10:52:39 2020 +0200
ephy-notification: Wrap labels to fit in mobile view
https://gitlab.gnome.org/GNOME/epiphany/-/issues/1247
lib/ephy-notification.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/lib/ephy-notification.c b/lib/ephy-notification.c
index 789b640f8..3df0f3a8e 100644
--- a/lib/ephy-notification.c
+++ b/lib/ephy-notification.c
@@ -139,11 +139,13 @@ ephy_notification_init (EphyNotification *self)
gtk_container_add (GTK_CONTAINER (self), self->grid);
self->head = gtk_label_new (NULL);
+ gtk_label_set_line_wrap (GTK_LABEL (self->head), TRUE);
gtk_widget_set_halign (self->head, GTK_ALIGN_CENTER);
gtk_widget_set_hexpand (self->head, TRUE);
gtk_grid_attach (GTK_GRID (self->grid), self->head, 0, 0, 1, 1);
self->body = gtk_label_new (NULL);
+ gtk_label_set_line_wrap (GTK_LABEL (self->body), TRUE);
gtk_widget_set_halign (self->body, GTK_ALIGN_CENTER);
gtk_widget_set_hexpand (self->body, TRUE);
gtk_grid_attach (GTK_GRID (self->grid), self->body, 0, 1, 1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]