Skip to content

Commit 5964be6

Browse files
committed
fix: widen many TSpinEditEx instances to either 80px or align them with neighbor controls
Refs #2544
1 parent 7c2870a commit 5964be6

2 files changed

Lines changed: 78 additions & 34 deletions

File tree

source/connections.lfm

Lines changed: 53 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,11 @@ object connform: Tconnform
194194
object spinPort: TSpinEditEx
195195
AnchorSideTop.Control = editPassword
196196
AnchorSideTop.Side = asrBottom
197+
AnchorSideRight.Side = asrBottom
197198
Left = 194
198199
Height = 23
199200
Top = 192
200-
Width = 57
201+
Width = 80
201202
BorderSpacing.Around = 5
202203
MaxLength = 0
203204
SpinButtonWidth = 17
@@ -209,6 +210,8 @@ object connform: Tconnform
209210
object editPassword: TEdit
210211
AnchorSideTop.Control = editUsername
211212
AnchorSideTop.Side = asrBottom
213+
AnchorSideRight.Control = tabSettings
214+
AnchorSideRight.Side = asrBottom
212215
Left = 194
213216
Height = 23
214217
Top = 164
@@ -223,6 +226,8 @@ object connform: Tconnform
223226
object editUsername: TEditButton
224227
AnchorSideTop.Control = chkWindowsAuth
225228
AnchorSideTop.Side = asrBottom
229+
AnchorSideRight.Control = tabSettings
230+
AnchorSideRight.Side = asrBottom
226231
Left = 194
227232
Height = 23
228233
Top = 136
@@ -244,6 +249,8 @@ object connform: Tconnform
244249
AnchorSideLeft.Side = asrBottom
245250
AnchorSideTop.Control = comboLibrary
246251
AnchorSideTop.Side = asrBottom
252+
AnchorSideRight.Control = tabSettings
253+
AnchorSideRight.Side = asrBottom
247254
Left = 194
248255
Height = 23
249256
Top = 60
@@ -264,6 +271,7 @@ object connform: Tconnform
264271
object comboNetType: TComboBoxEx
265272
AnchorSideLeft.Side = asrBottom
266273
AnchorSideTop.Control = tabSettings
274+
AnchorSideRight.Control = tabSettings
267275
AnchorSideRight.Side = asrBottom
268276
Left = 194
269277
Height = 22
@@ -309,6 +317,8 @@ object connform: Tconnform
309317
object memoComment: TMemo
310318
AnchorSideTop.Control = editDatabases
311319
AnchorSideTop.Side = asrBottom
320+
AnchorSideRight.Control = tabSettings
321+
AnchorSideRight.Side = asrBottom
312322
Left = 194
313323
Height = 143
314324
Top = 272
@@ -322,6 +332,8 @@ object connform: Tconnform
322332
object editDatabases: TEditButton
323333
AnchorSideTop.Control = chkCompressed
324334
AnchorSideTop.Side = asrBottom
335+
AnchorSideRight.Control = tabSettings
336+
AnchorSideRight.Side = asrBottom
325337
Left = 194
326338
Height = 23
327339
Top = 244
@@ -343,6 +355,8 @@ object connform: Tconnform
343355
AnchorSideLeft.Side = asrBottom
344356
AnchorSideTop.Control = comboNetType
345357
AnchorSideTop.Side = asrBottom
358+
AnchorSideRight.Control = tabSettings
359+
AnchorSideRight.Side = asrBottom
346360
Left = 194
347361
Height = 23
348362
Top = 32
@@ -438,11 +452,11 @@ object connform: Tconnform
438452
object spinSSHlocalport: TSpinEditEx
439453
AnchorSideTop.Control = editSSHPrivateKey
440454
AnchorSideTop.Side = asrBottom
455+
AnchorSideRight.Side = asrBottom
441456
Left = 194
442457
Height = 23
443458
Top = 217
444-
Width = 314
445-
Anchors = [akTop, akLeft, akRight]
459+
Width = 80
446460
BorderSpacing.Around = 5
447461
MaxLength = 0
448462
SpinButtonWidth = 17
@@ -454,6 +468,8 @@ object connform: Tconnform
454468
object editSSHUser: TEdit
455469
AnchorSideTop.Control = editSSHhost
456470
AnchorSideTop.Side = asrBottom
471+
AnchorSideRight.Control = tabSSHtunnel
472+
AnchorSideRight.Side = asrBottom
457473
Left = 194
458474
Height = 23
459475
Top = 85
@@ -469,6 +485,8 @@ object connform: Tconnform
469485
object editSSHPassword: TEdit
470486
AnchorSideTop.Control = editSSHUser
471487
AnchorSideTop.Side = asrBottom
488+
AnchorSideRight.Control = tabSSHtunnel
489+
AnchorSideRight.Side = asrBottom
472490
Left = 194
473491
Height = 23
474492
Top = 113
@@ -485,10 +503,11 @@ object connform: Tconnform
485503
object editSSHhost: TEdit
486504
AnchorSideTop.Control = comboSSHExe
487505
AnchorSideTop.Side = asrBottom
506+
AnchorSideRight.Control = spinSSHport
488507
Left = 194
489508
Height = 23
490509
Top = 57
491-
Width = 236
510+
Width = 229
492511
Anchors = [akTop, akLeft, akRight]
493512
BorderSpacing.Around = 5
494513
TabOrder = 2
@@ -499,10 +518,12 @@ object connform: Tconnform
499518
object spinSSHport: TSpinEditEx
500519
AnchorSideTop.Control = comboSSHExe
501520
AnchorSideTop.Side = asrBottom
502-
Left = 434
521+
AnchorSideRight.Control = tabSSHtunnel
522+
AnchorSideRight.Side = asrBottom
523+
Left = 428
503524
Height = 23
504525
Top = 57
505-
Width = 74
526+
Width = 80
506527
Anchors = [akTop, akRight]
507528
BorderSpacing.Around = 5
508529
MaxLength = 0
@@ -515,6 +536,8 @@ object connform: Tconnform
515536
object editSSHPrivateKey: TEditButton
516537
AnchorSideTop.Control = spinSSHTimeout
517538
AnchorSideTop.Side = asrBottom
539+
AnchorSideRight.Control = tabSSHtunnel
540+
AnchorSideRight.Side = asrBottom
518541
Left = 194
519542
Height = 23
520543
Top = 189
@@ -538,10 +561,11 @@ object connform: Tconnform
538561
object spinSSHTimeout: TSpinEditEx
539562
AnchorSideTop.Control = lblSshPassHint
540563
AnchorSideTop.Side = asrBottom
564+
AnchorSideRight.Side = asrBottom
541565
Left = 194
542566
Height = 23
543567
Top = 161
544-
Width = 60
568+
Width = 80
545569
BorderSpacing.Around = 5
546570
MaxLength = 0
547571
SpinButtonWidth = 17
@@ -553,6 +577,8 @@ object connform: Tconnform
553577
object comboSSHExe: TComboBox
554578
AnchorSideTop.Control = chkSSHActive
555579
AnchorSideTop.Side = asrBottom
580+
AnchorSideRight.Control = tabSSHtunnel
581+
AnchorSideRight.Side = asrBottom
556582
Left = 194
557583
Height = 23
558584
Top = 29
@@ -684,6 +710,8 @@ object connform: Tconnform
684710
end
685711
object editStartupScript: TEditButton
686712
AnchorSideTop.Control = tabAdvanced
713+
AnchorSideRight.Control = tabAdvanced
714+
AnchorSideRight.Side = asrBottom
687715
Left = 194
688716
Height = 23
689717
Top = 5
@@ -722,7 +750,7 @@ object connform: Tconnform
722750
Left = 194
723751
Height = 23
724752
Top = 33
725-
Width = 90
753+
Width = 80
726754
BorderSpacing.Around = 5
727755
MaxLength = 0
728756
SpinButtonWidth = 17
@@ -737,7 +765,7 @@ object connform: Tconnform
737765
Left = 194
738766
Height = 23
739767
Top = 61
740-
Width = 90
768+
Width = 80
741769
BorderSpacing.Around = 5
742770
MaxLength = 0
743771
SpinButtonWidth = 17
@@ -749,6 +777,8 @@ object connform: Tconnform
749777
object ColorBoxBackgroundColor: TColorBox
750778
AnchorSideTop.Control = chkForceUnicode
751779
AnchorSideTop.Side = asrBottom
780+
AnchorSideRight.Control = tabAdvanced
781+
AnchorSideRight.Side = asrBottom
752782
Left = 194
753783
Height = 22
754784
Top = 185
@@ -767,6 +797,8 @@ object connform: Tconnform
767797
object editIgnoreDatabasePattern: TEdit
768798
AnchorSideTop.Control = ColorBoxBackgroundColor
769799
AnchorSideTop.Side = asrBottom
800+
AnchorSideRight.Control = tabAdvanced
801+
AnchorSideRight.Side = asrBottom
770802
Left = 194
771803
Height = 23
772804
Top = 212
@@ -793,6 +825,8 @@ object connform: Tconnform
793825
object editLogFilePath: TEditButton
794826
AnchorSideTop.Control = editIgnoreDatabasePattern
795827
AnchorSideTop.Side = asrBottom
828+
AnchorSideRight.Control = tabAdvanced
829+
AnchorSideRight.Side = asrBottom
796830
Left = 194
797831
Height = 23
798832
Top = 240
@@ -910,6 +944,8 @@ object connform: Tconnform
910944
object editSSLcipher: TEdit
911945
AnchorSideTop.Control = editSSLCertificate
912946
AnchorSideTop.Side = asrBottom
947+
AnchorSideRight.Control = tabSSL
948+
AnchorSideRight.Side = asrBottom
913949
Left = 194
914950
Height = 23
915951
Top = 113
@@ -924,6 +960,8 @@ object connform: Tconnform
924960
object editSSLCertificate: TEditButton
925961
AnchorSideTop.Control = editSSLCACertificate
926962
AnchorSideTop.Side = asrBottom
963+
AnchorSideRight.Control = tabSSL
964+
AnchorSideRight.Side = asrBottom
927965
Left = 194
928966
Height = 23
929967
Top = 85
@@ -946,6 +984,8 @@ object connform: Tconnform
946984
object editSSLCACertificate: TEditButton
947985
AnchorSideTop.Control = editSSLPrivateKey
948986
AnchorSideTop.Side = asrBottom
987+
AnchorSideRight.Control = tabSSL
988+
AnchorSideRight.Side = asrBottom
949989
Left = 194
950990
Height = 23
951991
Top = 57
@@ -968,6 +1008,8 @@ object connform: Tconnform
9681008
object editSSLPrivateKey: TEditButton
9691009
AnchorSideTop.Control = chkWantSSL
9701010
AnchorSideTop.Side = asrBottom
1011+
AnchorSideRight.Control = tabSSL
1012+
AnchorSideRight.Side = asrBottom
9711013
Left = 194
9721014
Height = 23
9731015
Top = 29
@@ -990,6 +1032,8 @@ object connform: Tconnform
9901032
object comboSSLVerification: TComboBox
9911033
AnchorSideTop.Control = editSSLcipher
9921034
AnchorSideTop.Side = asrBottom
1035+
AnchorSideRight.Control = tabSSL
1036+
AnchorSideRight.Side = asrBottom
9931037
Left = 194
9941038
Height = 23
9951039
Top = 141

0 commit comments

Comments
 (0)