[gnome-font-viewer/wip/ewlsh/gtk4] font-view: Vertically expand previews
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-font-viewer/wip/ewlsh/gtk4] font-view: Vertically expand previews
- Date: Sat, 12 Feb 2022 01:11:51 +0000 (UTC)
commit 9c3ffaab7486d664a870db849c631d0ce3ef4590
Author: Christopher Davis <christopherdavis gnome org>
Date: Fri Feb 11 17:02:52 2022 -0800
font-view: Vertically expand previews
This keeps item sizes consistent within rows.
src/font-view.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/font-view.c b/src/font-view.c
index b444460..8690a66 100644
--- a/src/font-view.c
+++ b/src/font-view.c
@@ -139,6 +139,7 @@ font_view_item_init (FontViewItem *self)
gtk_widget_set_margin_start (self->font_preview, 6);
gtk_widget_set_margin_end (self->font_preview, 6);
gtk_widget_set_halign (self->font_preview, GTK_ALIGN_CENTER);
+ gtk_widget_set_vexpand (self->font_preview, TRUE);
gtk_box_append (GTK_BOX (self), self->font_preview);
self->label = gtk_label_new (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]