mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Updated a code comment in GuiScraperSearch
This commit is contained in:
parent
eed122b3a7
commit
dd3d6aa7c5
|
@ -208,9 +208,8 @@ void GuiScraperSearch::onSizeChanged()
|
||||||
|
|
||||||
const float thumbnailCellScale {0.93f};
|
const float thumbnailCellScale {0.93f};
|
||||||
|
|
||||||
// Limit thumbnail size using setMaxHeight - we do this instead of letting mGrid
|
// Limit the thumbnail size using setMaxSize so the aspect ratio is maintained, and also
|
||||||
// call setSize because it maintains the aspect ratio.
|
// add some padding
|
||||||
// We also pad a little so it doesn't rub up against the metadata labels.
|
|
||||||
mResultThumbnail->setMaxSize(mGrid.getColWidth(1) * thumbnailCellScale, mGrid.getRowHeight(1));
|
mResultThumbnail->setMaxSize(mGrid.getColWidth(1) * thumbnailCellScale, mGrid.getRowHeight(1));
|
||||||
|
|
||||||
// Metadata.
|
// Metadata.
|
||||||
|
|
Loading…
Reference in a new issue