From bff6295bb0eea35c6b7c865d4bb89a349d1e9929 Mon Sep 17 00:00:00 2001 From: Aloshi Date: Sat, 19 Apr 2014 18:56:10 -0500 Subject: [PATCH] More repositioning for ScraperSearchComponent in auto mode. --- src/components/ScraperSearchComponent.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/ScraperSearchComponent.cpp b/src/components/ScraperSearchComponent.cpp index 5a6bf5091..a097550f2 100644 --- a/src/components/ScraperSearchComponent.cpp +++ b/src/components/ScraperSearchComponent.cpp @@ -99,7 +99,12 @@ void ScraperSearchComponent::onSizeChanged() else mGrid.setRowHeightPerc(0, 0.0825f); // hide name but do padding - mGrid.setRowHeightPerc(1, 0.505f); + if(mSearchType == ALWAYS_ACCEPT_FIRST_RESULT) + { + mGrid.setRowHeightPerc(2, 0.2f); + }else{ + mGrid.setRowHeightPerc(1, 0.505f); + } const float boxartCellScale = 0.9f;