mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-27 00:25:38 +00:00
Tweaked search window size.
This commit is contained in:
parent
43bc4f5fe2
commit
a9622126cb
|
@ -94,7 +94,7 @@ void ScraperSearchComponent::onSizeChanged()
|
||||||
|
|
||||||
mGrid.setRowHeightPerc(1, 0.505f);
|
mGrid.setRowHeightPerc(1, 0.505f);
|
||||||
|
|
||||||
const float boxartCellScale = 0.85f;
|
const float boxartCellScale = 0.9f;
|
||||||
|
|
||||||
// limit thumbnail size using setMaxHeight - we do this instead of letting mGrid call setSize because it maintains the aspect ratio
|
// limit thumbnail size using setMaxHeight - we do this instead of letting mGrid call setSize because it maintains the aspect ratio
|
||||||
// we also pad a little so it doesn't rub up against the metadata labels
|
// we also pad a little so it doesn't rub up against the metadata labels
|
||||||
|
|
|
@ -50,7 +50,7 @@ GuiScraperMulti::GuiScraperMulti(Window* window, const std::queue<ScraperSearchP
|
||||||
mButtonGrid = makeButtonGrid(mWindow, buttons);
|
mButtonGrid = makeButtonGrid(mWindow, buttons);
|
||||||
mGrid.setEntry(mButtonGrid, Vector2i(0, 4), true, false);
|
mGrid.setEntry(mButtonGrid, Vector2i(0, 4), true, false);
|
||||||
|
|
||||||
setSize(Renderer::getScreenWidth() * 0.875f, Renderer::getScreenHeight() * 0.849f);
|
setSize(Renderer::getScreenWidth() * 0.95f, Renderer::getScreenHeight() * 0.849f);
|
||||||
setPosition((Renderer::getScreenWidth() - mSize.x()) / 2, (Renderer::getScreenHeight() - mSize.y()) / 2);
|
setPosition((Renderer::getScreenWidth() - mSize.x()) / 2, (Renderer::getScreenHeight() - mSize.y()) / 2);
|
||||||
|
|
||||||
doNextSearch();
|
doNextSearch();
|
||||||
|
|
Loading…
Reference in a new issue