Commit 5058f4e6 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Reduce vertical space between icons, do not request space at the bottom of

2008-03-31  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(lay_down_icons_vertical):
	Reduce vertical space between icons, do not request space at the
	bottom of a column.

svn path=/trunk/; revision=14012
parent 5f71c940
2008-03-31 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-icon-container.c
(lay_down_icons_vertical):
Reduce vertical space between icons, do not request space at the
bottom of a column.
2008-03-31 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-icon-canvas-item.c
......
......@@ -1274,7 +1274,7 @@ lay_down_icons_vertical (NautilusIconContainer *container,
max_width = max_icon_width + max_text_width;
max_height = MAX (max_icon_height, max_text_height);
max_height_with_borders = ICON_PAD_TOP + max_height + ICON_PAD_BOTTOM;
max_height_with_borders = ICON_PAD_TOP + max_height;
line_height = ICON_PAD_TOP;
line_start = icons;
......@@ -1288,7 +1288,7 @@ lay_down_icons_vertical (NautilusIconContainer *container,
item = EEL_CANVAS_ITEM (icon->item);
/* If this icon doesn't fit, it's time to lay out the column that's queued up. */
if (line_start != p && line_height + max_height_with_borders + ICON_PAD_BOTTOM > canvas_height ) {
if (line_start != p && line_height + max_height_with_borders > canvas_height ) {
x += ICON_PAD_LEFT;
/* correctly set (per-column) width */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment