From 21b6cec5b53119eb8482d57a57b5efef62be383c Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Mon, 25 Jul 2011 16:30:28 +0100 Subject: [PATCH] GtkFontChooser: Set correct margin values between UI elements --- gtk/gtkfontchooser.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c index 70d8cd1e78..c30a32b3d5 100644 --- a/gtk/gtkfontchooser.c +++ b/gtk/gtkfontchooser.c @@ -560,6 +560,11 @@ gtk_font_chooser_init (GtkFontChooser *fontchooser) /* Basic layout */ grid = gtk_grid_new (); sub_grid = gtk_grid_new (); + + gtk_widget_set_margin_bottom (priv->search_entry, 6); + gtk_widget_set_margin_bottom (scrolled_win, 6); + gtk_widget_set_margin_bottom (priv->preview, 6); + gtk_widget_set_margin_right (priv->size_slider, 6); gtk_grid_attach (GTK_GRID (grid), priv->search_entry, 0, 0, 3, 1); gtk_grid_attach (GTK_GRID (grid), scrolled_win, 0, 1, 3, 1);