From 1ebb1d0399e81e2db0ba705bb99c2794801f655b Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Sun, 8 Dec 2024 23:37:50 +0100 Subject: [PATCH] Adjust: the dimensions of "Opera Promotion" page in Notepad3_Setup --- Build/notepad3_x64_setup.iss | 9 ++++----- Build/notepad3_x86_setup.iss | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/Build/notepad3_x64_setup.iss b/Build/notepad3_x64_setup.iss index 040b4553a..42da6ba5f 100644 --- a/Build/notepad3_x64_setup.iss +++ b/Build/notepad3_x64_setup.iss @@ -105,7 +105,6 @@ ArchitecturesInstallIn64BitMode=x64compatible #endif CloseApplications=true SetupMutex={#app_name}_setup_mutex,Global\{#app_name}_setup_mutex -SetupIconFile=.\Resources\Notepad3SetupIconFile.ico [Languages] @@ -1385,15 +1384,15 @@ procedure InitializeWizard(); begin // High-DPI screen PromoImagePath := ExpandConstant('{tmp}\en_PromoScreen_HiDPI.bmp'); - OriginalWidth := 602; // Width of the high-DPI image - OriginalHeight := 300; // Height of the high-DPI image + OriginalWidth := 802; // Width of the high-DPI image + OriginalHeight := 400; // Height of the high-DPI image end else begin // Normal DPI screen PromoImagePath := ExpandConstant('{tmp}\en_PromoScreen.bmp'); - OriginalWidth := 402; // Width of the normal image - OriginalHeight := 200; // Height of the normal image + OriginalWidth := 450; // Width of the normal image + OriginalHeight := 236; // Height of the normal image end; // Extract and load the appropriate promo image diff --git a/Build/notepad3_x86_setup.iss b/Build/notepad3_x86_setup.iss index b5ee8adde..e901e293a 100644 --- a/Build/notepad3_x86_setup.iss +++ b/Build/notepad3_x86_setup.iss @@ -105,7 +105,6 @@ ArchitecturesInstallIn64BitMode=x64compatible #endif CloseApplications=true SetupMutex={#app_name}_setup_mutex,Global\{#app_name}_setup_mutex -SetupIconFile=.\Resources\Notepad3SetupIconFile.ico [Languages] @@ -1385,15 +1384,15 @@ procedure InitializeWizard(); begin // High-DPI screen PromoImagePath := ExpandConstant('{tmp}\en_PromoScreen_HiDPI.bmp'); - OriginalWidth := 602; // Width of the high-DPI image - OriginalHeight := 300; // Height of the high-DPI image + OriginalWidth := 802; // Width of the high-DPI image + OriginalHeight := 400; // Height of the high-DPI image end else begin // Normal DPI screen PromoImagePath := ExpandConstant('{tmp}\en_PromoScreen.bmp'); - OriginalWidth := 402; // Width of the normal image - OriginalHeight := 200; // Height of the normal image + OriginalWidth := 450; // Width of the normal image + OriginalHeight := 236; // Height of the normal image end; // Extract and load the appropriate promo image