Skip to content

Commit ca7aad6

Browse files
committed
enhance: align bottom buttons on session manager
1 parent 913fc9d commit ca7aad6

File tree

1 file changed

+55
-36
lines changed

1 file changed

+55
-36
lines changed

source/connections.lfm

Lines changed: 55 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ object connform: Tconnform
1313
Constraints.MinWidth = 550
1414
DesignTimePPI = 120
1515
ShowHint = True
16-
LCLVersion = '4.2.0.0'
1716
OnClose = FormClose
1817
OnCloseQuery = FormCloseQuery
1918
OnCreate = FormCreate
@@ -23,14 +22,14 @@ object connform: Tconnform
2322
object splitterMain: TSplitter
2423
Cursor = crSizeWE
2524
Left = 260
26-
Height = 574
25+
Height = 575
2726
Top = 10
2827
Width = 10
2928
OnMoved = splitterMainMoved
3029
end
3130
object PageControlDetails: TPageControl
3231
Left = 270
33-
Height = 574
32+
Height = 575
3433
Top = 10
3534
Width = 656
3635
ActivePage = tabSettings
@@ -41,7 +40,7 @@ object connform: Tconnform
4140
OnChange = PageControlDetailsChange
4241
object tabStart: TTabSheet
4342
Caption = 'Start'
44-
ClientHeight = 541
43+
ClientHeight = 542
4544
ClientWidth = 648
4645
ImageIndex = 112
4746
object lblHelp: TLabel
@@ -68,7 +67,7 @@ object connform: Tconnform
6867
end
6968
object tabSettings: TTabSheet
7069
Caption = 'Settings'
71-
ClientHeight = 541
70+
ClientHeight = 542
7271
ClientWidth = 648
7372
ImageIndex = 39
7473
object lblPort: TLabel
@@ -285,7 +284,7 @@ object connform: Tconnform
285284
AnchorSideTop.Control = editDatabases
286285
AnchorSideTop.Side = asrBottom
287286
Left = 242
288-
Height = 194
287+
Height = 195
289288
Top = 332
290289
Width = 400
291290
Anchors = [akTop, akLeft, akRight, akBottom]
@@ -332,7 +331,7 @@ object connform: Tconnform
332331
end
333332
object tabSSHtunnel: TTabSheet
334333
Caption = 'SSH tunnel'
335-
ClientHeight = 541
334+
ClientHeight = 542
336335
ClientWidth = 648
337336
ImageIndex = 147
338337
object lblSSHLocalPort: TLabel
@@ -560,7 +559,7 @@ object connform: Tconnform
560559
end
561560
object tabAdvanced: TTabSheet
562561
Caption = 'Advanced'
563-
ClientHeight = 541
562+
ClientHeight = 542
564563
ClientWidth = 648
565564
ImageIndex = 98
566565
object lblStartupScript: TLabel
@@ -791,7 +790,7 @@ object connform: Tconnform
791790
end
792791
object tabSSL: TTabSheet
793792
Caption = 'SSL'
794-
ClientHeight = 541
793+
ClientHeight = 542
795794
ClientWidth = 648
796795
ImageIndex = 25
797796
object lblSSLPrivateKey: TLabel
@@ -961,7 +960,7 @@ object connform: Tconnform
961960
end
962961
object tabStatistics: TTabSheet
963962
Caption = 'Statistics'
964-
ClientHeight = 541
963+
ClientHeight = 542
965964
ClientWidth = 648
966965
ImageIndex = 145
967966
object lblLastConnectLeft: TLabel
@@ -1046,19 +1045,19 @@ object connform: Tconnform
10461045
end
10471046
object pnlLeft: TPanel
10481047
Left = 10
1049-
Height = 574
1048+
Height = 575
10501049
Top = 10
10511050
Width = 250
10521051
Align = alLeft
10531052
BevelOuter = bvNone
1054-
ClientHeight = 574
1053+
ClientHeight = 575
10551054
ClientWidth = 250
10561055
Constraints.MinWidth = 125
10571056
ParentBackground = False
10581057
TabOrder = 2
10591058
object ListSessions: TLazVirtualStringTree
10601059
Left = 0
1061-
Height = 540
1060+
Height = 541
10621061
Top = 34
10631062
Width = 250
10641063
Align = alClient
@@ -1151,74 +1150,94 @@ object connform: Tconnform
11511150
end
11521151
object pnlBottom: TPanel
11531152
Left = 10
1154-
Height = 38
1155-
Top = 584
1153+
Height = 31
1154+
Top = 591
11561155
Width = 916
11571156
Align = alBottom
1157+
AutoSize = True
1158+
BorderSpacing.Top = 6
11581159
BevelOuter = bvNone
1159-
ClientHeight = 38
1160+
ClientHeight = 31
11601161
ClientWidth = 916
11611162
ParentBackground = False
11621163
TabOrder = 3
11631164
object btnSave: TSpeedButton
1164-
Left = 80
1165+
AnchorSideLeft.Control = btnNew
1166+
AnchorSideLeft.Side = asrBottom
1167+
Left = 68
11651168
Height = 31
1166-
Top = 8
1169+
Top = 0
11671170
Width = 62
1171+
BorderSpacing.Right = 6
11681172
Caption = 'Save'
11691173
Images = MainForm.ImageListMain
11701174
ImageIndex = 10
11711175
OnClick = btnSaveClick
11721176
end
11731177
object btnOpen: TButton
1174-
Left = 588
1175-
Height = 31
1176-
Top = 8
1177-
Width = 100
1178+
AnchorSideRight.Control = btnCancel
1179+
Left = 589
1180+
Height = 30
1181+
Top = 0
1182+
Width = 105
11781183
Anchors = [akTop, akRight]
1184+
AutoSize = True
1185+
BorderSpacing.Left = 6
11791186
Caption = 'Open'
1180-
Default = True
1187+
Constraints.MinWidth = 105
11811188
Enabled = False
11821189
TabOrder = 0
11831190
OnClick = btnOpenClick
11841191
end
11851192
object btnCancel: TButton
1186-
Left = 696
1187-
Height = 31
1188-
Top = 8
1189-
Width = 100
1193+
AnchorSideRight.Control = btnMore
1194+
Left = 700
1195+
Height = 30
1196+
Top = 0
1197+
Width = 105
11901198
Anchors = [akTop, akRight]
1191-
Cancel = True
1199+
AutoSize = True
1200+
BorderSpacing.Left = 6
11921201
Caption = 'Cancel'
1202+
Constraints.MinWidth = 105
11931203
ModalResult = 2
11941204
TabOrder = 1
11951205
end
11961206
object btnNew: TSpeedButton
1197-
Left = 10
1207+
Left = 0
11981208
Height = 31
1199-
Top = 8
1209+
Top = 0
12001210
Width = 62
1211+
BorderSpacing.Right = 6
12011212
Caption = 'New'
12021213
Images = MainForm.ImageListMain
12031214
ImageIndex = 45
12041215
OnClick = btnNewDropdown
12051216
end
12061217
object btnDelete: TSpeedButton
1207-
Left = 150
1218+
AnchorSideLeft.Control = btnSave
1219+
AnchorSideLeft.Side = asrBottom
1220+
Left = 136
12081221
Height = 31
1209-
Top = 8
1222+
Top = 0
12101223
Width = 62
1224+
BorderSpacing.Right = 6
12111225
Caption = 'Delete'
12121226
Images = MainForm.ImageListMain
12131227
ImageIndex = 46
12141228
OnClick = btnDeleteClick
12151229
end
12161230
object btnMore: TSpeedButton
1217-
Left = 803
1218-
Height = 31
1219-
Top = 8
1220-
Width = 100
1231+
AnchorSideRight.Control = pnlBottom
1232+
AnchorSideRight.Side = asrBottom
1233+
Left = 811
1234+
Height = 30
1235+
Top = 0
1236+
Width = 105
12211237
Anchors = [akTop, akRight]
1238+
AutoSize = True
1239+
BorderSpacing.Left = 6
1240+
Constraints.MinWidth = 105
12221241
Caption = 'More'
12231242
OnClick = btnMoreClick
12241243
end

0 commit comments

Comments
 (0)