diff --git a/src/sview/grid.c b/src/sview/grid.c
index d0ed6283c3b88e81d06ca554f8d3dfa6ed189eb6..92acf26a9055dbe4f075798d02c97d5554044f4c 100644
--- a/src/sview/grid.c
+++ b/src/sview/grid.c
@@ -541,6 +541,9 @@ extern void put_buttons_in_table(GtkTable *table, List button_list)
 				 (grid_button->table_y+1),
 				 GTK_SHRINK, GTK_SHRINK,
 				 1, 1);
+		if(!grid_button->table_x)
+			gtk_table_set_row_spacing(table, 
+						  grid_button->table_y, 5);
 #else
 		grid_button->table = table;
 		grid_button->table_x = coord_x;
diff --git a/src/sview/part_info.c b/src/sview/part_info.c
index 25009afac231dbec5ac26227ddc98d2012f4deb4..5db8495a19541440f433e139d6c332e008a18d44 100644
--- a/src/sview/part_info.c
+++ b/src/sview/part_info.c
@@ -1653,8 +1653,10 @@ display_it:
 		}
 	}
 	list_iterator_destroy(itr);
+#ifndef HAVE_BG
 	put_buttons_in_table(popup_win->grid_table,
 			     popup_win->grid_button_list);
+#endif
 	 
 	_update_info_part(send_info_list, 
 			  GTK_TREE_VIEW(spec_info->display_widget));