From d2ec969d196866ad2544c3d3bf7fe694bd38b0f2 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 17 Jan 2021 12:43:31 +0100 Subject: [PATCH] Adjusted the game description size for the multi-scraper automatic mode. --- es-app/src/guis/GuiScraperSearch.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/es-app/src/guis/GuiScraperSearch.cpp b/es-app/src/guis/GuiScraperSearch.cpp index 8a93d4877..4d69a1bf7 100644 --- a/es-app/src/guis/GuiScraperSearch.cpp +++ b/es-app/src/guis/GuiScraperSearch.cpp @@ -192,17 +192,16 @@ void GuiScraperSearch::onSizeChanged() resizeMetadata(); if (mSearchType != ALWAYS_ACCEPT_FIRST_RESULT) - mDescContainer->setSize(mGrid.getColWidth(1)*boxartCellScale + + mDescContainer->setSize(mGrid.getColWidth(1) * boxartCellScale + mGrid.getColWidth(2), mResultDesc->getFont()->getHeight() * 3); else - mDescContainer->setSize(mGrid.getColWidth(3)*boxartCellScale, - mResultDesc->getFont()->getHeight() * 7); + mDescContainer->setSize(mGrid.getColWidth(3) * boxartCellScale, + mResultDesc->getFont()->getHeight() * 6); // Make description text wrap at edge of container. mResultDesc->setSize(mDescContainer->getSize().x(), 0); mGrid.onSizeChanged(); - mBusyAnim.setSize(mSize); }