Browse Source

Bug fix: Incorrect scaling of drag&drop shell extension status display on Preferences dialog

(cherry picked from commit 4167e87df467680926ff3d278be77fbd2674aecf)

Source commit: 37ae0731c781a3ca6ccdca8eaacad85007cd02c3
Martin Prikryl 3 months ago
parent
commit
1f0ef042b8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      source/forms/Preferences.cpp

+ 2 - 0
source/forms/Preferences.cpp

@@ -1385,6 +1385,8 @@ void __fastcall TPreferencesDialog::UpdateControls()
     }
     }
     SetLabelHintPopup(CopyParamLabel, InfoStr);
     SetLabelHintPopup(CopyParamLabel, InfoStr);
 
 
+    // As we change the font (via Color), it stops being scaled automatically
+    DragExtStatusLabel->Font->Height = DDFakeFileEnabledLabel->Font->Height;
     if (WinConfiguration->IsDDExtBroken())
     if (WinConfiguration->IsDDExtBroken())
     {
     {
       DragExtStatusLabel->Caption = LoadStr(PREFERENCES_DRAGEXT_BROKEN);
       DragExtStatusLabel->Caption = LoadStr(PREFERENCES_DRAGEXT_BROKEN);