IDE: improved alignment of build mode combobox in Project Options dialog, issue #39757

This commit is contained in:
Maxim Ganetsky 2022-05-24 00:30:04 +03:00
parent bed8f0d9e9
commit a6f7b28f81

View File

@ -1,30 +1,30 @@
object IDEOptionsDialog: TIDEOptionsDialog object IDEOptionsDialog: TIDEOptionsDialog
Left = 372 Left = 372
Height = 500 Height = 625
Top = 202 Top = 202
Width = 800 Width = 1000
ActiveControl = FilterEdit ActiveControl = FilterEdit
BorderIcons = [biSystemMenu] BorderIcons = [biSystemMenu]
Caption = 'IDEOptionsDialog' Caption = 'IDEOptionsDialog'
ClientHeight = 500 ClientHeight = 625
ClientWidth = 800 ClientWidth = 1000
Constraints.MinHeight = 350 Constraints.MinHeight = 438
Constraints.MinWidth = 500 Constraints.MinWidth = 625
DesignTimePPI = 120
OnShow = FormShow OnShow = FormShow
Position = poScreenCenter Position = poScreenCenter
LCLVersion = '1.9.0.0'
object ButtonPanel: TButtonPanel object ButtonPanel: TButtonPanel
AnchorSideLeft.Control = Owner AnchorSideLeft.Control = Owner
AnchorSideRight.Control = Owner AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner AnchorSideBottom.Control = Owner
Left = 6 Left = 8
Height = 34 Height = 38
Top = 460 Top = 579
Width = 788 Width = 984
BorderSpacing.Left = 6 BorderSpacing.Left = 8
BorderSpacing.Right = 6 BorderSpacing.Right = 8
BorderSpacing.Bottom = 6 BorderSpacing.Bottom = 8
BorderSpacing.Around = 0 BorderSpacing.Around = 0
OKButton.Name = 'OKButton' OKButton.Name = 'OKButton'
OKButton.DefaultCaption = True OKButton.DefaultCaption = True
@ -39,23 +39,23 @@ object IDEOptionsDialog: TIDEOptionsDialog
ShowButtons = [pbOK, pbCancel, pbHelp] ShowButtons = [pbOK, pbCancel, pbHelp]
end end
object CatTVSplitter: TSplitter object CatTVSplitter: TSplitter
Left = 255 Left = 319
Height = 460 Height = 579
Top = 0 Top = 0
Width = 4 Width = 5
end end
object CategoryPanel: TPanel object CategoryPanel: TPanel
AnchorSideLeft.Control = Owner AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner AnchorSideTop.Control = Owner
Left = 0 Left = 0
Height = 460 Height = 579
Top = 0 Top = 0
Width = 255 Width = 319
Align = alLeft Align = alLeft
BevelOuter = bvNone BevelOuter = bvNone
ClientHeight = 460 ClientHeight = 579
ClientWidth = 255 ClientWidth = 319
Constraints.MinWidth = 150 Constraints.MinWidth = 188
TabOrder = 2 TabOrder = 2
object CategoryTree: TTreeView object CategoryTree: TTreeView
AnchorSideLeft.Control = FilterEdit AnchorSideLeft.Control = FilterEdit
@ -64,12 +64,12 @@ object IDEOptionsDialog: TIDEOptionsDialog
AnchorSideRight.Control = CategoryPanel AnchorSideRight.Control = CategoryPanel
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = SettingsPanel AnchorSideBottom.Control = SettingsPanel
Left = 6 Left = 8
Height = 417 Height = 527
Top = 37 Top = 44
Width = 249 Width = 311
Anchors = [akTop, akLeft, akRight, akBottom] Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Top = 6 BorderSpacing.Top = 8
ReadOnly = True ReadOnly = True
ScrollBars = ssAutoBoth ScrollBars = ssAutoBoth
TabOrder = 0 TabOrder = 0
@ -83,15 +83,15 @@ object IDEOptionsDialog: TIDEOptionsDialog
AnchorSideLeft.Control = CategoryPanel AnchorSideLeft.Control = CategoryPanel
AnchorSideTop.Control = CategoryPanel AnchorSideTop.Control = CategoryPanel
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
Left = 6 Left = 8
Height = 25 Height = 28
Top = 6 Top = 8
Width = 249 Width = 311
OnFilterItem = FilterEditFilterItem OnFilterItem = FilterEditFilterItem
ButtonWidth = 23 ButtonWidth = 29
Anchors = [akTop, akLeft, akRight] Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 6 BorderSpacing.Left = 8
BorderSpacing.Top = 6 BorderSpacing.Top = 8
NumGlyphs = 1 NumGlyphs = 1
MaxLength = 0 MaxLength = 0
TabOrder = 1 TabOrder = 1
@ -99,13 +99,13 @@ object IDEOptionsDialog: TIDEOptionsDialog
end end
object SettingsPanel: TPanel object SettingsPanel: TPanel
Left = 0 Left = 0
Height = 6 Height = 8
Top = 454 Top = 571
Width = 255 Width = 319
Align = alBottom Align = alBottom
AutoSize = True AutoSize = True
BevelOuter = bvNone BevelOuter = bvNone
Constraints.MinHeight = 6 Constraints.MinHeight = 8
TabOrder = 2 TabOrder = 2
end end
end end
@ -115,26 +115,26 @@ object IDEOptionsDialog: TIDEOptionsDialog
AnchorSideTop.Control = Owner AnchorSideTop.Control = Owner
AnchorSideRight.Control = EditorsPanel AnchorSideRight.Control = EditorsPanel
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
Left = 259 Left = 324
Height = 40 Height = 50
Top = 0 Top = 0
Width = 535 Width = 668
Anchors = [akTop, akLeft, akRight] Anchors = [akTop, akLeft, akRight]
BevelOuter = bvNone BevelOuter = bvNone
ClientHeight = 40 ClientHeight = 50
ClientWidth = 535 ClientWidth = 668
TabOrder = 3 TabOrder = 3
object BuildModeComboBox: TComboBox object BuildModeComboBox: TComboBox
AnchorSideLeft.Control = BuildModesLabel AnchorSideLeft.Control = BuildModesLabel
AnchorSideLeft.Side = asrBottom AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = BuildModesLabel AnchorSideTop.Control = BuildModeSelectPanel
AnchorSideTop.Side = asrCenter Left = 131
Left = 125 Height = 28
Height = 35 Top = 8
Top = -1 Width = 219
Width = 175 BorderSpacing.Left = 8
BorderSpacing.Left = 6 BorderSpacing.Top = 8
ItemHeight = 0 ItemHeight = 20
OnSelect = BuildModeComboBoxSelect OnSelect = BuildModeComboBoxSelect
Style = csDropDownList Style = csDropDownList
TabOrder = 0 TabOrder = 0
@ -145,10 +145,10 @@ object IDEOptionsDialog: TIDEOptionsDialog
AnchorSideTop.Control = BuildModeComboBox AnchorSideTop.Control = BuildModeComboBox
AnchorSideBottom.Control = BuildModeComboBox AnchorSideBottom.Control = BuildModeComboBox
AnchorSideBottom.Side = asrBottom AnchorSideBottom.Side = asrBottom
Left = 301 Left = 351
Height = 35 Height = 28
Top = -1 Top = 8
Width = 23 Width = 29
Anchors = [akTop, akLeft, akBottom] Anchors = [akTop, akLeft, akBottom]
BorderSpacing.Left = 1 BorderSpacing.Left = 1
Caption = '...' Caption = '...'
@ -156,11 +156,16 @@ object IDEOptionsDialog: TIDEOptionsDialog
TabOrder = 1 TabOrder = 1
end end
object BuildModesLabel: TLabel object BuildModesLabel: TLabel
Left = 12 AnchorSideLeft.Control = BuildModeSelectPanel
Height = 19 AnchorSideTop.Control = BuildModeComboBox
Top = 7 AnchorSideTop.Side = asrCenter
Width = 107 Left = 8
Height = 20
Top = 12
Width = 115
BorderSpacing.Left = 8
Caption = 'BuildModesLabel' Caption = 'BuildModesLabel'
Color = clDefault
ParentColor = False ParentColor = False
end end
end end
@ -172,16 +177,16 @@ object IDEOptionsDialog: TIDEOptionsDialog
AnchorSideRight.Control = Owner AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = ButtonPanel AnchorSideBottom.Control = ButtonPanel
Left = 259 Left = 324
Height = 420 Height = 529
Top = 40 Top = 50
Width = 535 Width = 668
HorzScrollBar.Page = 1 HorzScrollBar.Page = 1
HorzScrollBar.Tracking = True HorzScrollBar.Tracking = True
VertScrollBar.Page = 1 VertScrollBar.Page = 1
VertScrollBar.Tracking = True VertScrollBar.Tracking = True
Anchors = [akTop, akLeft, akRight, akBottom] Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Right = 6 BorderSpacing.Right = 8
BorderStyle = bsNone BorderStyle = bsNone
TabOrder = 4 TabOrder = 4
end end