[gtk+] GtkFontChooser: Fix expand and fill properties for the grid layout
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkFontChooser: Fix expand and fill properties for the grid layout
- Date: Mon, 15 Aug 2011 23:53:36 +0000 (UTC)
commit 1075b7ac38bcee06c506521286aa03e4553a719b
Author: Alberto Ruiz <aruiz gnome org>
Date: Wed Jul 13 23:06:43 2011 +0100
GtkFontChooser: Fix expand and fill properties for the grid layout
gtk/gtkfontchooser.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c
index 8195db7..d8082be 100644
--- a/gtk/gtkfontchooser.c
+++ b/gtk/gtkfontchooser.c
@@ -564,7 +564,11 @@ gtk_font_chooser_init (GtkFontChooser *fontchooser)
gtk_grid_attach (GTK_GRID (grid), priv->size_slider, 0, 3, 2, 1);
gtk_grid_attach (GTK_GRID (grid), priv->size_spin, 2, 3, 1, 1);
- gtk_box_pack_start (GTK_BOX (fontchooser), grid, TRUE, FALSE, 0);
+ gtk_widget_set_hexpand (GTK_WIDGET (scrolled_win), TRUE);
+ gtk_widget_set_vexpand (GTK_WIDGET (scrolled_win), TRUE);
+ gtk_widget_set_hexpand (GTK_WIDGET (priv->search_entry), TRUE);
+
+ gtk_box_pack_start (GTK_BOX (fontchooser), grid, TRUE, TRUE, 0);
/* Setting the adjustment values for the size slider */
gtk_adjustment_set_value (gtk_range_get_adjustment (GTK_RANGE (priv->size_slider)),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]