[gnome-photos] properties-dialog: Make rows the same height



commit dde2266855b20a82c8b9aa431b86c018ed2ac3e4
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Jul 22 16:26:31 2013 +0200

    properties-dialog: Make rows the same height
    
    Original patch from William Jon McCann for gnome-documents.

 src/photos-properties-dialog.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-properties-dialog.c b/src/photos-properties-dialog.c
index 9f7f554..35401f4 100644
--- a/src/photos-properties-dialog.c
+++ b/src/photos-properties-dialog.c
@@ -145,10 +145,12 @@ photos_properties_dialog_constructed (GObject *object)
   gtk_widget_set_margin_left (grid, 24);
   gtk_widget_set_margin_right (grid, 24);
   gtk_widget_set_margin_bottom (grid, 12);
+  gtk_widget_set_margin_top (grid, 12);
   gtk_orientable_set_orientation (GTK_ORIENTABLE (grid), GTK_ORIENTATION_VERTICAL);
   gtk_grid_set_column_homogeneous (GTK_GRID (grid), TRUE);
   gtk_grid_set_column_spacing (GTK_GRID (grid), 24);
-  gtk_grid_set_row_spacing (GTK_GRID (grid), 12);
+  gtk_grid_set_row_homogeneous (GTK_GRID (grid), TRUE);
+  gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
 
   content_area = gtk_dialog_get_content_area (GTK_DIALOG (self));
   gtk_box_pack_start (GTK_BOX (content_area), grid, TRUE, TRUE, 2);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]