mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
Restore button max widths.
This commit is contained in:
parent
ee75acabea
commit
b9f3628298
1 changed files with 2 additions and 2 deletions
|
|
@ -1225,7 +1225,7 @@ static void DrawSourcePickers()
|
|||
std::list<std::filesystem::path> paths;
|
||||
if (g_currentPage == WizardPage::SelectGameAndUpdate || g_currentPage == WizardPage::SelectDLC)
|
||||
{
|
||||
constexpr float ADD_BUTTON_MAX_TEXT_WIDTH = 124.0f;
|
||||
constexpr float ADD_BUTTON_MAX_TEXT_WIDTH = 168.0f;
|
||||
const std::string &addFilesText = Localise("Installer_Button_AddFiles");
|
||||
float squashRatio;
|
||||
ImVec2 textSize = ComputeTextSize(g_dfsogeistdFont, addFilesText.c_str(), 20.0f, squashRatio, ADD_BUTTON_MAX_TEXT_WIDTH);
|
||||
|
|
@ -1367,7 +1367,7 @@ static void DrawNavigationButton()
|
|||
}
|
||||
|
||||
float squashRatio;
|
||||
constexpr float NAV_BUTTON_MAX_TEXT_WIDTH = 72.0f;
|
||||
constexpr float NAV_BUTTON_MAX_TEXT_WIDTH = 90.0f;
|
||||
const char *nextButtonKey = "Installer_Button_Next";
|
||||
if (skipButton)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue