💄 Fix more form layouts

This commit is contained in:
2022-05-22 15:51:56 +02:00
parent 97c8270b38
commit dc36f0b09c
7 changed files with 261 additions and 219 deletions
+137 -131
View File
@@ -1,15 +1,16 @@
object frmLogin: TfrmLogin
Left = 290
Height = 331
Height = 414
Top = 201
Width = 604
Width = 755
ActiveControl = btnOK
BorderIcons = [biSystemMenu]
BorderStyle = bsDialog
Caption = 'UO CentrED'
ClientHeight = 331
ClientWidth = 604
Font.Height = -14
ClientHeight = 414
ClientWidth = 755
DesignTimePPI = 120
Font.Height = -18
OnClose = FormClose
OnCreate = FormCreate
Position = poScreenCenter
@@ -23,87 +24,91 @@ object frmLogin: TfrmLogin
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 0
Height = 20
Top = 311
Width = 604
Height = 26
Top = 388
Width = 755
Alignment = taCenter
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 10
BorderSpacing.Top = 12
Caption = ' '
Color = clDefault
ParentColor = False
Transparent = False
end
object gbConnection: TGroupBox
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
AnchorSideRight.Control = gbActions
AnchorSideBottom.Side = asrCenter
Left = 10
Height = 172
Top = 5
Width = 395
Left = 12
Height = 215
Top = 6
Width = 495
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Top = 5
BorderSpacing.Right = 10
BorderSpacing.Left = 12
BorderSpacing.Top = 6
BorderSpacing.Right = 12
Caption = 'Connection'
ClientHeight = 151
ClientWidth = 393
ClientHeight = 177
ClientWidth = 491
TabOrder = 0
object lblHost: TLabel
AnchorSideLeft.Control = imgHost
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = edHost
AnchorSideTop.Side = asrCenter
Left = 36
Height = 20
Top = 16
Width = 34
BorderSpacing.Left = 10
Left = 40
Height = 26
Top = 19
Width = 45
BorderSpacing.Left = 12
Caption = 'Host:'
Color = clDefault
Font.Height = -14
Font.Height = -18
ParentColor = False
ParentFont = False
Transparent = False
end
object lblUsername: TLabel
AnchorSideLeft.Control = imgUsername
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = edUsername
AnchorSideTop.Side = asrCenter
Left = 36
Height = 20
Top = 69
Width = 73
BorderSpacing.Left = 10
Left = 40
Height = 26
Top = 85
Width = 93
BorderSpacing.Left = 12
Caption = 'Username:'
Color = clDefault
ParentColor = False
Transparent = False
end
object lblPassword: TLabel
AnchorSideLeft.Control = imgPassword
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = edPassword
AnchorSideTop.Side = asrCenter
Left = 36
Height = 20
Top = 121
Width = 68
BorderSpacing.Left = 10
Left = 40
Height = 26
Top = 150
Width = 87
BorderSpacing.Left = 12
Caption = 'Password:'
Color = clDefault
ParentColor = False
Transparent = False
end
object imgHost: TImage
AnchorSideLeft.Control = gbConnection
AnchorSideTop.Control = lblHost
AnchorSideTop.Side = asrCenter
Left = 10
Left = 12
Height = 16
Top = 18
Top = 24
Width = 16
AutoSize = True
BorderSpacing.Left = 10
BorderSpacing.Left = 12
Picture.Data = {
07545069786D61702E0A00002F2A2058504D202A2F0A73746174696320636861
72202A64756D6D795B5D3D7B0A223136203136203132342032222C0A22517420
@@ -194,9 +199,9 @@ object frmLogin: TfrmLogin
AnchorSideLeft.Control = imgHost
AnchorSideTop.Control = lblUsername
AnchorSideTop.Side = asrCenter
Left = 10
Left = 12
Height = 16
Top = 71
Top = 90
Width = 16
AutoSize = True
Picture.Data = {
@@ -289,9 +294,9 @@ object frmLogin: TfrmLogin
AnchorSideLeft.Control = imgUsername
AnchorSideTop.Control = lblPassword
AnchorSideTop.Side = asrCenter
Left = 10
Left = 12
Height = 16
Top = 123
Top = 155
Width = 16
AutoSize = True
Picture.Data = {
@@ -375,13 +380,13 @@ object frmLogin: TfrmLogin
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = gbConnection
AnchorSideRight.Control = edPort
Left = 119
Height = 32
Top = 10
Width = 185
Left = 145
Height = 40
Top = 12
Width = 236
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Top = 10
BorderSpacing.Left = 12
BorderSpacing.Top = 12
TabOrder = 0
Text = 'localhost'
end
@@ -391,12 +396,12 @@ object frmLogin: TfrmLogin
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = edPort
AnchorSideRight.Side = asrBottom
Left = 119
Height = 32
Top = 63
Width = 264
Left = 145
Height = 40
Top = 78
Width = 334
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 21
BorderSpacing.Top = 26
TabOrder = 2
end
object edPassword: TEdit
@@ -405,13 +410,13 @@ object frmLogin: TfrmLogin
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = edUsername
AnchorSideRight.Side = asrBottom
Left = 119
Height = 32
Top = 115
Width = 264
Left = 145
Height = 40
Top = 143
Width = 334
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 20
BorderSpacing.Bottom = 20
BorderSpacing.Top = 25
BorderSpacing.Bottom = 25
EchoMode = emPassword
PasswordChar = '*'
TabOrder = 3
@@ -424,13 +429,13 @@ object frmLogin: TfrmLogin
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = edHost
AnchorSideBottom.Side = asrBottom
Left = 314
Height = 32
Top = 10
Width = 69
Left = 393
Height = 40
Top = 12
Width = 86
Anchors = [akTop, akRight, akBottom]
BorderSpacing.Left = 10
BorderSpacing.Right = 10
BorderSpacing.Left = 12
BorderSpacing.Right = 12
MaxValue = 65565
MinValue = 1024
TabOrder = 1
@@ -443,28 +448,28 @@ object frmLogin: TfrmLogin
AnchorSideTop.Control = gbConnection
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 415
Height = 115
Top = 5
Width = 179
Left = 519
Height = 144
Top = 6
Width = 224
Anchors = [akTop, akRight]
BorderSpacing.Left = 10
BorderSpacing.Right = 10
ClientHeight = 113
ClientWidth = 177
BorderSpacing.Left = 12
BorderSpacing.Right = 12
ClientHeight = 140
ClientWidth = 220
TabOrder = 2
object btnOK: TButton
AnchorSideLeft.Control = gbActions
AnchorSideTop.Control = gbActions
AnchorSideRight.Control = gbActions
AnchorSideRight.Side = asrBottom
Left = 10
Height = 31
Top = 10
Width = 157
Left = 12
Height = 39
Top = 12
Width = 196
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Around = 10
BorderSpacing.InnerBorder = 5
BorderSpacing.Around = 12
BorderSpacing.InnerBorder = 6
Caption = '&OK'
Default = True
OnClick = btnOKClick
@@ -476,13 +481,13 @@ object frmLogin: TfrmLogin
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = btnOK
AnchorSideRight.Side = asrBottom
Left = 10
Height = 31
Top = 51
Width = 157
Left = 12
Height = 39
Top = 63
Width = 196
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Bottom = 10
BorderSpacing.InnerBorder = 5
BorderSpacing.Bottom = 12
BorderSpacing.InnerBorder = 6
Caption = '&Cancel'
ModalResult = 2
OnClick = btnCancelClick
@@ -495,48 +500,49 @@ object frmLogin: TfrmLogin
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = gbConnection
AnchorSideRight.Side = asrBottom
Left = 10
Height = 119
Top = 182
Width = 395
Left = 12
Height = 149
Top = 227
Width = 495
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 5
BorderSpacing.Top = 6
Caption = 'Data files'
ClientHeight = 98
ClientWidth = 393
ClientHeight = 111
ClientWidth = 491
TabOrder = 1
object lblData: TLabel
AnchorSideLeft.Control = gbData
AnchorSideTop.Control = gbData
AnchorSideRight.Control = gbData
AnchorSideRight.Side = asrBottom
Left = 10
Height = 60
Top = 5
Width = 373
Left = 12
Height = 76
Top = 6
Width = 467
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Top = 5
BorderSpacing.Right = 10
BorderSpacing.Left = 12
BorderSpacing.Top = 6
BorderSpacing.Right = 12
Caption = 'Select the directory containing art.mul, artidx.mul, hues.mul, tiledata.mul, animdata.mul, texmaps.mul, texidx.mul, light.mul and lightidx.mul.'
Color = clDefault
ParentColor = False
Transparent = False
WordWrap = True
end
object edData: TDirectoryEdit
AnchorSideLeft.Control = lblData
AnchorSideTop.Control = lblData
AnchorSideTop.Side = asrBottom
Left = 10
Height = 26
Top = 70
Width = 340
Left = 12
Height = 32
Top = 88
Width = 425
ShowHidden = False
ButtonWidth = 29
ButtonWidth = 36
NumGlyphs = 1
AutoSize = False
BorderSpacing.Top = 5
BorderSpacing.Bottom = 10
BorderSpacing.Top = 6
BorderSpacing.Bottom = 12
MaxLength = 0
TabOrder = 0
end
@@ -547,26 +553,26 @@ object frmLogin: TfrmLogin
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = gbActions
AnchorSideRight.Side = asrBottom
Left = 415
Height = 101
Top = 130
Width = 179
Left = 519
Height = 126
Top = 162
Width = 224
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 10
BorderSpacing.Top = 12
Caption = 'Profiles'
ClientHeight = 80
ClientWidth = 177
ClientHeight = 88
ClientWidth = 220
TabOrder = 3
object btnSaveProfile: TSpeedButton
AnchorSideTop.Control = btnDeleteProfile
AnchorSideRight.Control = btnDeleteProfile
Left = 101
Height = 28
Left = 126
Height = 35
Hint = 'Save profile'
Top = 51
Width = 28
Top = 58
Width = 35
Anchors = [akTop, akRight]
BorderSpacing.Right = 10
BorderSpacing.Right = 12
Glyph.Data = {
36040000424D3604000000000000360000002800000010000000100000000100
2000000000000004000064000000640000000000000000000000BA6A36FFB969
@@ -613,14 +619,14 @@ object frmLogin: TfrmLogin
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = cbProfile
AnchorSideRight.Side = asrBottom
Left = 139
Height = 28
Left = 173
Height = 35
Hint = 'Delete profile'
Top = 51
Width = 28
Top = 58
Width = 35
Anchors = [akTop, akRight]
BorderSpacing.Top = 10
BorderSpacing.Bottom = 10
BorderSpacing.Top = 12
BorderSpacing.Bottom = 12
Glyph.Data = {
36040000424D3604000000000000360000002800000010000000100000000100
2000000000000004000064000000640000000000000000000000000000000000
@@ -667,15 +673,15 @@ object frmLogin: TfrmLogin
AnchorSideTop.Control = gbProfiles
AnchorSideRight.Control = gbProfiles
AnchorSideRight.Side = asrBottom
Left = 10
Height = 36
Top = 5
Width = 157
Left = 12
Height = 40
Top = 6
Width = 196
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 10
BorderSpacing.Top = 5
BorderSpacing.Right = 10
ItemHeight = 0
BorderSpacing.Left = 12
BorderSpacing.Top = 6
BorderSpacing.Right = 12
ItemHeight = 26
OnChange = cbProfileChange
Style = csDropDownList
TabOrder = 0