mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25:38 +00:00
Adjusted the game description size for the multi-scraper automatic mode.
This commit is contained in:
parent
6e4b26daae
commit
d2ec969d19
|
@ -192,17 +192,16 @@ void GuiScraperSearch::onSizeChanged()
|
||||||
resizeMetadata();
|
resizeMetadata();
|
||||||
|
|
||||||
if (mSearchType != ALWAYS_ACCEPT_FIRST_RESULT)
|
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);
|
mGrid.getColWidth(2), mResultDesc->getFont()->getHeight() * 3);
|
||||||
else
|
else
|
||||||
mDescContainer->setSize(mGrid.getColWidth(3)*boxartCellScale,
|
mDescContainer->setSize(mGrid.getColWidth(3) * boxartCellScale,
|
||||||
mResultDesc->getFont()->getHeight() * 7);
|
mResultDesc->getFont()->getHeight() * 6);
|
||||||
|
|
||||||
// Make description text wrap at edge of container.
|
// Make description text wrap at edge of container.
|
||||||
mResultDesc->setSize(mDescContainer->getSize().x(), 0);
|
mResultDesc->setSize(mDescContainer->getSize().x(), 0);
|
||||||
|
|
||||||
mGrid.onSizeChanged();
|
mGrid.onSizeChanged();
|
||||||
|
|
||||||
mBusyAnim.setSize(mSize);
|
mBusyAnim.setSize(mSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue