summaryrefslogtreecommitdiff
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2012-04-25 07:47:03 -0400
committerTarmac <>2012-04-25 07:47:03 -0400
commitc1913096aae0a6e74c6f7b2bb15108188d669745 (patch)
tree11c0fb4cf887c13ff288ef250d551992637f85c0
parent0e53cbb671549f98b11a75a79c816824b6894c6f (diff)
parentb2a6c804191fec52822c1dbcb5d4842bb278e975 (diff)
Don't crop the bottom of results in card view when a category is not expanded.. Fixes: https://bugs.launchpad.net/bugs/975003. Approved by Marco Trevisan (TreviƱo).
(bzr r2340)
-rw-r--r--plugins/unityshell/src/ResultViewGrid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/unityshell/src/ResultViewGrid.cpp b/plugins/unityshell/src/ResultViewGrid.cpp
index 9deea321c..4acfd144b 100644
--- a/plugins/unityshell/src/ResultViewGrid.cpp
+++ b/plugins/unityshell/src/ResultViewGrid.cpp
@@ -286,7 +286,7 @@ void ResultViewGrid::SizeReallocate()
}
else
{
- total_height = renderer_->height;
+ total_height = renderer_->height + vertical_spacing;
}
int width = (items_per_row * renderer_->width) + (padding*2) + ((items_per_row - 1) * horizontal_spacing);