[nautilus] batch-rename-dialog.c: increase row margin



commit bbf896e7bf99c5d848e17ac9b78e1e8893cebde9
Author: Carlos Soriano <csoriano gnome org>
Date:   Tue Aug 30 10:32:19 2016 +0200

    batch-rename-dialog.c: increase row margin
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770586

 src/nautilus-batch-rename-dialog.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-batch-rename-dialog.c b/src/nautilus-batch-rename-dialog.c
index 934bce7..6f56fe1 100644
--- a/src/nautilus-batch-rename-dialog.c
+++ b/src/nautilus-batch-rename-dialog.c
@@ -29,6 +29,7 @@
 #include <glib/gi18n.h>
 
 #define ROW_MARGIN_START 6
+#define ROW_MARGIN_TOP_BOTTOM 4
 
 struct _NautilusBatchRenameDialog
 {
@@ -939,7 +940,7 @@ update_rows_height (NautilusBatchRenameDialog *dialog)
 
     if (maximum_height != dialog->row_height)
     {
-        dialog->row_height = maximum_height;
+        dialog->row_height = maximum_height + ROW_MARGIN_TOP_BOTTOM * 2;
 
         for (l = dialog->listbox_icons; l != NULL; l = l->next)
         {


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