Browse Source

Updating layout of Environment page of Preferences dialog to make clear that "Confirmations > Drag & drop operations and paste to other applications" is an suboption of "Confirmations > Transferring of files"

Source commit: 87661a93d17fb6370507d9c9ea40bcd94689b33e
Martin Prikryl 7 years ago
parent
commit
7647aa132f
2 changed files with 11 additions and 10 deletions
  1. 1 0
      source/forms/Preferences.cpp
  2. 10 10
      source/forms/Preferences.dfm

+ 1 - 0
source/forms/Preferences.cpp

@@ -1110,6 +1110,7 @@ void __fastcall TPreferencesDialog::UpdateControls()
 {
   if (FNoUpdate == 0)
   {
+    EnableControl(DDTransferConfirmationCheck2, ConfirmTransferringCheck->Checked);
     EnableControl(BeepOnFinishAfterEdit, BeepOnFinishCheck->Checked);
     EnableControl(BeepOnFinishAfterText, BeepOnFinishCheck->Checked);
 

+ 10 - 10
source/forms/Preferences.dfm

@@ -95,7 +95,7 @@ object PreferencesDialog: TPreferencesDialog
           end
           object ConfirmOverwritingCheck: TCheckBox
             Left = 16
-            Top = 44
+            Top = 67
             Width = 357
             Height = 17
             Anchors = [akLeft, akTop, akRight]
@@ -105,7 +105,7 @@ object PreferencesDialog: TPreferencesDialog
           end
           object ConfirmDeletingCheck: TCheckBox
             Left = 16
-            Top = 106
+            Top = 129
             Width = 357
             Height = 17
             Anchors = [akLeft, akTop, akRight]
@@ -115,7 +115,7 @@ object PreferencesDialog: TPreferencesDialog
           end
           object ConfirmClosingSessionCheck2: TCheckBox
             Left = 16
-            Top = 152
+            Top = 175
             Width = 357
             Height = 17
             Anchors = [akLeft, akTop, akRight]
@@ -124,9 +124,9 @@ object PreferencesDialog: TPreferencesDialog
             OnClick = ControlChange
           end
           object DDTransferConfirmationCheck2: TCheckBox
-            Left = 16
-            Top = 198
-            Width = 357
+            Left = 32
+            Top = 44
+            Width = 341
             Height = 17
             Anchors = [akLeft, akTop, akRight]
             Caption = 'D&rag && drop operations and paste to other applications'
@@ -145,7 +145,7 @@ object PreferencesDialog: TPreferencesDialog
           end
           object ConfirmExitOnCompletionCheck: TCheckBox
             Left = 16
-            Top = 175
+            Top = 198
             Width = 357
             Height = 17
             Anchors = [akLeft, akTop, akRight]
@@ -155,7 +155,7 @@ object PreferencesDialog: TPreferencesDialog
           end
           object ConfirmResumeCheck: TCheckBox
             Left = 16
-            Top = 67
+            Top = 90
             Width = 357
             Height = 17
             Anchors = [akLeft, akTop, akRight]
@@ -175,7 +175,7 @@ object PreferencesDialog: TPreferencesDialog
           end
           object ConfirmRecyclingCheck: TCheckBox
             Left = 16
-            Top = 129
+            Top = 152
             Width = 357
             Height = 17
             Anchors = [akLeft, akTop, akRight]
@@ -195,7 +195,7 @@ object PreferencesDialog: TPreferencesDialog
           end
           object BackgroundConfirmationsLink: TStaticText
             Left = 32
-            Top = 88
+            Top = 111
             Width = 345
             Height = 17
             Alignment = taRightJustify