Commit 213f960a authored by Jan-Michael Brummer's avatar Jan-Michael Brummer
Browse files

ephy-notification: Wrap labels to fit in mobile view

#1247
parent c66e98f7
Pipeline #191981 canceled with stages
in 14 minutes and 40 seconds
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment