浏览代码

Issue 2398 – Make space on permissions box for longer translations

https://winscp.net/tracker/2398

Source commit: 73c2dbe5b5247844c87d37fb867945b5951f6c59
Martin Prikryl 1 月之前
父节点
当前提交
0a319a8641

+ 1 - 2
source/forms/Copy.cpp

@@ -3,9 +3,8 @@
 #pragma hdrstop
 
 #include "Copy.h"
+#include <ComboEdit.hpp>
 //---------------------------------------------------------------------------
-#pragma link "Rights"
-#pragma link "CopyParams"
 #pragma link "HistoryComboBox"
 #pragma resource "*.dfm"
 //---------------------------------------------------------------------------

+ 0 - 2
source/forms/Copy.h

@@ -11,8 +11,6 @@
 #include <HistoryComboBox.hpp>
 #include <Vcl.Imaging.pngimage.hpp>
 
-#include "Rights.h"
-#include "CopyParams.h"
 #include <Menus.hpp>
 //---------------------------------------------------------------------------
 class TCopyDialog : public TForm

+ 1 - 1
source/forms/CreateDirectory.dfm

@@ -62,7 +62,7 @@ object CreateDirectoryDialog: TCreateDirectoryDialog
       inline RightsFrame: TRightsFrame
         Left = 2
         Top = 39
-        Width = 258
+        Width = 273
         Height = 98
         TabOrder = 1
         inherited DirectoriesXCheck: TCheckBox

+ 1 - 1
source/forms/FullSynchronize.cpp

@@ -3,7 +3,7 @@
 #pragma hdrstop
 
 #include "FullSynchronize.h"
-#include "CopyParams.h"
+#include <ComboEdit.hpp>
 #include <Terminal.h>
 //---------------------------------------------------------------------------
 #pragma link "HistoryComboBox"

+ 0 - 1
source/forms/NonVisual.h

@@ -10,7 +10,6 @@
 #include <Menus.hpp>
 #include <ImgList.hpp>
 #include <ExtCtrls.hpp>
-#include <Rights.h>
 
 #include "CustomScpExplorer.h"
 #include "TB2Item.hpp"

+ 1 - 1
source/forms/Properties.dfm

@@ -219,7 +219,7 @@ object PropertiesDialog: TPropertiesDialog
       inline RightsFrame: TRightsFrame
         Left = 89
         Top = 194
-        Width = 258
+        Width = 273
         Height = 128
         TabOrder = 5
       end

+ 15 - 15
source/forms/Rights.dfm

@@ -1,7 +1,7 @@
 object RightsFrame: TRightsFrame
   Left = 0
   Top = 0
-  Width = 258
+  Width = 273
   Height = 130
   Font.Charset = DEFAULT_CHARSET
   Font.Color = clWindowText
@@ -51,7 +51,7 @@ object RightsFrame: TRightsFrame
   end
   object OwnerReadCheck: TGrayedCheckBox
     Tag = 256
-    Left = 65
+    Left = 73
     Top = 6
     Width = 34
     Height = 17
@@ -64,7 +64,7 @@ object RightsFrame: TRightsFrame
   end
   object OwnerWriteCheck: TGrayedCheckBox
     Tag = 128
-    Left = 103
+    Left = 111
     Top = 6
     Width = 34
     Height = 17
@@ -77,7 +77,7 @@ object RightsFrame: TRightsFrame
   end
   object OwnerExecuteCheck: TGrayedCheckBox
     Tag = 64
-    Left = 141
+    Left = 149
     Top = 6
     Width = 31
     Height = 17
@@ -90,7 +90,7 @@ object RightsFrame: TRightsFrame
   end
   object GroupReadCheck: TGrayedCheckBox
     Tag = 32
-    Left = 65
+    Left = 73
     Top = 29
     Width = 34
     Height = 17
@@ -102,7 +102,7 @@ object RightsFrame: TRightsFrame
   end
   object GroupWriteCheck: TGrayedCheckBox
     Tag = 16
-    Left = 103
+    Left = 111
     Top = 29
     Width = 33
     Height = 17
@@ -114,7 +114,7 @@ object RightsFrame: TRightsFrame
   end
   object GroupExecuteCheck: TGrayedCheckBox
     Tag = 8
-    Left = 141
+    Left = 149
     Top = 29
     Width = 31
     Height = 17
@@ -126,7 +126,7 @@ object RightsFrame: TRightsFrame
   end
   object OthersReadCheck: TGrayedCheckBox
     Tag = 4
-    Left = 65
+    Left = 73
     Top = 52
     Width = 34
     Height = 17
@@ -138,7 +138,7 @@ object RightsFrame: TRightsFrame
   end
   object OthersWriteCheck: TGrayedCheckBox
     Tag = 2
-    Left = 103
+    Left = 111
     Top = 52
     Width = 33
     Height = 17
@@ -150,7 +150,7 @@ object RightsFrame: TRightsFrame
   end
   object OthersExecuteCheck: TGrayedCheckBox
     Tag = 1
-    Left = 141
+    Left = 149
     Top = 52
     Width = 31
     Height = 17
@@ -170,7 +170,7 @@ object RightsFrame: TRightsFrame
     OnClick = ControlChange
   end
   object OctalEdit: TEdit
-    Left = 65
+    Left = 73
     Top = 75
     Width = 70
     Height = 23
@@ -182,7 +182,7 @@ object RightsFrame: TRightsFrame
   end
   object SetUidCheck: TGrayedCheckBox
     Tag = 2048
-    Left = 179
+    Left = 187
     Top = 6
     Width = 77
     Height = 17
@@ -192,7 +192,7 @@ object RightsFrame: TRightsFrame
   end
   object SetGIDCheck: TGrayedCheckBox
     Tag = 1024
-    Left = 179
+    Left = 187
     Top = 29
     Width = 77
     Height = 17
@@ -202,7 +202,7 @@ object RightsFrame: TRightsFrame
   end
   object StickyBitCheck: TGrayedCheckBox
     Tag = 512
-    Left = 179
+    Left = 187
     Top = 52
     Width = 77
     Height = 17
@@ -211,7 +211,7 @@ object RightsFrame: TRightsFrame
     OnClick = ControlChange
   end
   object CloseButton: TButton
-    Left = 171
+    Left = 179
     Top = 98
     Width = 80
     Height = 25

+ 1 - 1
source/forms/Synchronize.cpp

@@ -3,7 +3,7 @@
 #pragma hdrstop
 
 #include "Synchronize.h"
-#include "CopyParams.h"
+#include <ComboEdit.hpp>
 #include "Terminal.h"
 #include <TerminalManager.h>
 //---------------------------------------------------------------------------