More repositioning for ScraperSearchComponent in auto mode.

This commit is contained in:
Aloshi 2014-04-19 18:56:10 -05:00
parent b0f36b0a91
commit bff6295bb0

View file

@ -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;