mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Made the menus slightly wider to accomodate the new standard font.
This commit is contained in:
parent
2f3a2a6157
commit
ae55eda233
|
@ -337,8 +337,8 @@ GuiMetaDataEd::GuiMetaDataEd(
|
|||
mGrid.setEntry(mButtons, Vector2i(0, 2), true, false);
|
||||
|
||||
// Resize + center.
|
||||
float width = static_cast<float>(std::min(Renderer::getScreenHeight(),
|
||||
static_cast<int>(Renderer::getScreenWidth() * 0.90f)));
|
||||
float width = static_cast<float>(std::min(static_cast<int>(Renderer::getScreenHeight() *
|
||||
1.05f), static_cast<int>(Renderer::getScreenWidth() * 0.90f)));
|
||||
setSize(width, Renderer::getScreenHeight() * 0.83f);
|
||||
setPosition((Renderer::getScreenWidth() - mSize.x()) / 2,
|
||||
(Renderer::getScreenHeight() - mSize.y()) / 2);
|
||||
|
|
|
@ -98,8 +98,8 @@ void MenuComponent::updateSize()
|
|||
}
|
||||
}
|
||||
|
||||
float width = static_cast<float>(std::min(static_cast<int>(Renderer::getScreenHeight()),
|
||||
static_cast<int>(Renderer::getScreenWidth() * 0.90f)));
|
||||
float width = static_cast<float>(std::min(static_cast<int>(Renderer::getScreenHeight() *
|
||||
1.05f), static_cast<int>(Renderer::getScreenWidth() * 0.90f)));
|
||||
setSize(width, height);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue