Added a margin to the game file text in the metadata editor.

This commit is contained in:
Leon Styhre 2021-01-05 16:54:45 +01:00
parent 8ecc50b4ce
commit 7c61d7b19d

View file

@ -62,7 +62,8 @@ GuiMetaDataEd::GuiMetaDataEd(
mSubtitle = std::make_shared<TextComponent>(mWindow, mSubtitle = std::make_shared<TextComponent>(mWindow,
Utils::FileSystem::getFileName(scraperParams.game-> Utils::FileSystem::getFileName(scraperParams.game->
getPath()) + " [" + Utils::String::toUpper(scraperParams.system->getName()) + "]", getPath()) + " [" + Utils::String::toUpper(scraperParams.system->getName()) + "]",
Font::get(FONT_SIZE_SMALL), 0x777777FF, ALIGN_CENTER); Font::get(FONT_SIZE_SMALL), 0x777777FF, ALIGN_CENTER, Vector3f(0.0f, 0.0f, 0.0f),
Vector2f(0.0f, 0.0f), 0x00000000, 0.05f);
mHeaderGrid->setEntry(mTitle, Vector2i(0, 1), false, true); mHeaderGrid->setEntry(mTitle, Vector2i(0, 1), false, true);
mHeaderGrid->setEntry(mSubtitle, Vector2i(0, 3), false, true); mHeaderGrid->setEntry(mSubtitle, Vector2i(0, 3), false, true);