mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-10 21:49:36 +01:00
project templates: improved layout, from Graeme, bug #13793
git-svn-id: trunk@20128 -
This commit is contained in:
parent
c43a1a19c5
commit
af800dd81b
@ -3,31 +3,29 @@ object ProjectVariablesForm: TProjectVariablesForm
|
|||||||
Height = 326
|
Height = 326
|
||||||
Top = 306
|
Top = 306
|
||||||
Width = 573
|
Width = 573
|
||||||
ActiveControl = BOK
|
ActiveControl = EProjectName
|
||||||
Caption = 'New project from template'
|
Caption = 'New project from template'
|
||||||
ClientHeight = 326
|
ClientHeight = 326
|
||||||
ClientWidth = 573
|
ClientWidth = 573
|
||||||
OnShow = ProjectVariablesFormShow
|
OnShow = ProjectVariablesFormShow
|
||||||
Position = poScreenCenter
|
Position = poScreenCenter
|
||||||
LCLVersion = '0.9.25'
|
LCLVersion = '0.9.27'
|
||||||
object Label1: TLabel
|
object Label1: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 23
|
Height = 18
|
||||||
Top = 16
|
Top = 16
|
||||||
Width = 131
|
Width = 153
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
|
||||||
Caption = '&Name for new project:'
|
Caption = '&Name for new project:'
|
||||||
Layout = tlCenter
|
Layout = tlCenter
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object Label2: TLabel
|
object Label2: TLabel
|
||||||
Left = 8
|
Left = 8
|
||||||
Height = 22
|
Height = 18
|
||||||
Top = 48
|
Top = 48
|
||||||
Width = 131
|
Width = 133
|
||||||
Alignment = taRightJustify
|
Alignment = taRightJustify
|
||||||
AutoSize = False
|
|
||||||
Caption = 'Create in &directory:'
|
Caption = 'Create in &directory:'
|
||||||
Layout = tlCenter
|
Layout = tlCenter
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
@ -53,11 +51,13 @@ object ProjectVariablesForm: TProjectVariablesForm
|
|||||||
AutoFillColumns = True
|
AutoFillColumns = True
|
||||||
ColCount = 3
|
ColCount = 3
|
||||||
DefaultColWidth = 120
|
DefaultColWidth = 120
|
||||||
ExtendedSelect = True
|
|
||||||
FixedColor = clBtnFace
|
|
||||||
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goColSizing, goEditing, goAlwaysShowEditor, goDblClickAutoSize, goSmoothScroll]
|
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goColSizing, goEditing, goAlwaysShowEditor, goDblClickAutoSize, goSmoothScroll]
|
||||||
RowCount = 5
|
|
||||||
TabOrder = 5
|
TabOrder = 5
|
||||||
|
ColWidths = (
|
||||||
|
120
|
||||||
|
216
|
||||||
|
217
|
||||||
|
)
|
||||||
end
|
end
|
||||||
object BOK: TButton
|
object BOK: TButton
|
||||||
Left = 485
|
Left = 485
|
||||||
@ -85,22 +85,30 @@ object ProjectVariablesForm: TProjectVariablesForm
|
|||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
end
|
end
|
||||||
object EProjectName: TEdit
|
object EProjectName: TEdit
|
||||||
Left = 152
|
AnchorSideLeft.Control = Label1
|
||||||
Height = 23
|
AnchorSideLeft.Side = asrBottom
|
||||||
|
AnchorSideRight.Control = Owner
|
||||||
|
AnchorSideRight.Side = asrBottom
|
||||||
|
Left = 167
|
||||||
|
Height = 27
|
||||||
Top = 16
|
Top = 16
|
||||||
Width = 311
|
Width = 400
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
|
BorderSpacing.Left = 6
|
||||||
|
BorderSpacing.Right = 6
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
end
|
end
|
||||||
object DEProject: TDirectoryEdit
|
object DEProject: TDirectoryEdit
|
||||||
Left = 152
|
AnchorSideLeft.Control = EProjectName
|
||||||
Height = 23
|
AnchorSideRight.Side = asrBottom
|
||||||
|
Left = 167
|
||||||
|
Height = 27
|
||||||
Top = 48
|
Top = 48
|
||||||
Width = 391
|
Width = 376
|
||||||
|
ShowHidden = False
|
||||||
ButtonWidth = 23
|
ButtonWidth = 23
|
||||||
NumGlyphs = 1
|
NumGlyphs = 1
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
ParentColor = False
|
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -2,36 +2,39 @@
|
|||||||
|
|
||||||
LazarusResources.Add('TProjectVariablesForm','FORMDATA',[
|
LazarusResources.Add('TProjectVariablesForm','FORMDATA',[
|
||||||
'TPF0'#21'TProjectVariablesForm'#20'ProjectVariablesForm'#4'Left'#3#249#1#6'H'
|
'TPF0'#21'TProjectVariablesForm'#20'ProjectVariablesForm'#4'Left'#3#249#1#6'H'
|
||||||
+'eight'#3'F'#1#3'Top'#3'2'#1#5'Width'#3'='#2#13'ActiveControl'#7#3'BOK'#7'Ca'
|
+'eight'#3'F'#1#3'Top'#3'2'#1#5'Width'#3'='#2#13'ActiveControl'#7#12'EProject'
|
||||||
+'ption'#6#25'New project from template'#12'ClientHeight'#3'F'#1#11'ClientWid'
|
+'Name'#7'Caption'#6#25'New project from template'#12'ClientHeight'#3'F'#1#11
|
||||||
+'th'#3'='#2#6'OnShow'#7#24'ProjectVariablesFormShow'#8'Position'#7#14'poScre'
|
+'ClientWidth'#3'='#2#6'OnShow'#7#24'ProjectVariablesFormShow'#8'Position'#7
|
||||||
+'enCenter'#10'LCLVersion'#6#6'0.9.25'#0#6'TLabel'#6'Label1'#4'Left'#2#8#6'He'
|
+#14'poScreenCenter'#10'LCLVersion'#6#6'0.9.27'#0#6'TLabel'#6'Label1'#4'Left'
|
||||||
+'ight'#2#23#3'Top'#2#16#5'Width'#3#131#0#9'Alignment'#7#14'taRightJustify'#8
|
+#2#8#6'Height'#2#18#3'Top'#2#16#5'Width'#3#153#0#9'Alignment'#7#14'taRightJu'
|
||||||
+'AutoSize'#8#7'Caption'#6#22'&Name for new project:'#6'Layout'#7#8'tlCenter'
|
+'stify'#7'Caption'#6#22'&Name for new project:'#6'Layout'#7#8'tlCenter'#11'P'
|
||||||
+#11'ParentColor'#8#0#0#6'TLabel'#6'Label2'#4'Left'#2#8#6'Height'#2#22#3'Top'
|
+'arentColor'#8#0#0#6'TLabel'#6'Label2'#4'Left'#2#8#6'Height'#2#18#3'Top'#2'0'
|
||||||
+#2'0'#5'Width'#3#131#0#9'Alignment'#7#14'taRightJustify'#8'AutoSize'#8#7'Cap'
|
+#5'Width'#3#133#0#9'Alignment'#7#14'taRightJustify'#7'Caption'#6#21'Create i'
|
||||||
+'tion'#6#21'Create in &directory:'#6'Layout'#7#8'tlCenter'#11'ParentColor'#8
|
+'n &directory:'#6'Layout'#7#8'tlCenter'#11'ParentColor'#8#0#0#6'TPanel'#12'P'
|
||||||
+#0#0#6'TPanel'#12'PDescription'#4'Left'#2#8#6'Height'#2':'#3'Top'#2'P'#5'Wid'
|
+'Description'#4'Left'#2#8#6'Height'#2':'#3'Top'#2'P'#5'Width'#3'/'#2#7'Ancho'
|
||||||
+'th'#3'/'#2#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#10'BevelInner'#7#8
|
+'rs'#11#5'akTop'#6'akLeft'#7'akRight'#0#10'BevelInner'#7#8'bvRaised'#10'Beve'
|
||||||
+'bvRaised'#10'BevelOuter'#7#9'bvLowered'#7'Caption'#6'ZThis project contains'
|
+'lOuter'#7#9'bvLowered'#7'Caption'#6'ZThis project contains some additional '
|
||||||
+' some additional variables. Please provide values for these variables'#11'F'
|
+'variables. Please provide values for these variables'#11'FullRepaint'#8#8'T'
|
||||||
+'ullRepaint'#8#8'TabOrder'#2#0#0#0#11'TStringGrid'#11'SGVariables'#4'Left'#2
|
+'abOrder'#2#0#0#0#11'TStringGrid'#11'SGVariables'#4'Left'#2#10#6'Height'#3
|
||||||
+#10#6'Height'#3#138#0#3'Top'#3#144#0#5'Width'#3'-'#2#7'Anchors'#11#5'akTop'#6
|
+#138#0#3'Top'#3#144#0#5'Width'#3'-'#2#7'Anchors'#11#5'akTop'#6'akLeft'#7'akR'
|
||||||
+'akLeft'#7'akRight'#8'akBottom'#0#15'AutoFillColumns'#9#8'ColCount'#2#3#15'D'
|
+'ight'#8'akBottom'#0#15'AutoFillColumns'#9#8'ColCount'#2#3#15'DefaultColWidt'
|
||||||
+'efaultColWidth'#2'x'#14'ExtendedSelect'#9#10'FixedColor'#7#9'clBtnFace'#7'O'
|
+'h'#2'x'#7'Options'#11#15'goFixedVertLine'#15'goFixedHorzLine'#10'goVertLine'
|
||||||
+'ptions'#11#15'goFixedVertLine'#15'goFixedHorzLine'#10'goVertLine'#10'goHorz'
|
+#10'goHorzLine'#13'goRangeSelect'#11'goColSizing'#9'goEditing'#18'goAlwaysSh'
|
||||||
+'Line'#13'goRangeSelect'#11'goColSizing'#9'goEditing'#18'goAlwaysShowEditor'
|
+'owEditor'#18'goDblClickAutoSize'#14'goSmoothScroll'#0#8'TabOrder'#2#5#9'Col'
|
||||||
+#18'goDblClickAutoSize'#14'goSmoothScroll'#0#8'RowCount'#2#5#8'TabOrder'#2#5
|
+'Widths'#1#2'x'#3#216#0#3#217#0#0#0#0#7'TButton'#3'BOK'#4'Left'#3#229#1#6'He'
|
||||||
+#0#0#7'TButton'#3'BOK'#4'Left'#3#229#1#6'Height'#2#25#3'Top'#3'"'#1#5'Width'
|
+'ight'#2#25#3'Top'#3'"'#1#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'
|
||||||
+#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#25'BorderSpacing.InnerBorder'#2
|
+#0#25'BorderSpacing.InnerBorder'#2#4#7'Caption'#6#3'&OK'#7'Default'#9#11'Mod'
|
||||||
+#4#7'Caption'#6#3'&OK'#7'Default'#9#11'ModalResult'#2#1#7'OnClick'#7#8'BOKCl'
|
+'alResult'#2#1#7'OnClick'#7#8'BOKClick'#8'TabOrder'#2#1#0#0#7'TButton'#7'BCa'
|
||||||
+'ick'#8'TabOrder'#2#1#0#0#7'TButton'#7'BCancel'#4'Left'#3#141#1#6'Height'#2
|
+'ncel'#4'Left'#3#141#1#6'Height'#2#25#3'Top'#3'"'#1#5'Width'#2'K'#7'Anchors'
|
||||||
+#25#3'Top'#3'"'#1#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#25'Bo'
|
+#11#7'akRight'#8'akBottom'#0#25'BorderSpacing.InnerBorder'#2#4#6'Cancel'#9#7
|
||||||
+'rderSpacing.InnerBorder'#2#4#6'Cancel'#9#7'Caption'#6#7'&Cancel'#11'ModalRe'
|
+'Caption'#6#7'&Cancel'#11'ModalResult'#2#2#8'TabOrder'#2#2#0#0#5'TEdit'#12'E'
|
||||||
+'sult'#2#2#8'TabOrder'#2#2#0#0#5'TEdit'#12'EProjectName'#4'Left'#3#152#0#6'H'
|
+'ProjectName'#22'AnchorSideLeft.Control'#7#6'Label1'#19'AnchorSideLeft.Side'
|
||||||
+'eight'#2#23#3'Top'#2#16#5'Width'#3'7'#1#7'Anchors'#11#5'akTop'#6'akLeft'#7
|
+#7#9'asrBottom'#23'AnchorSideRight.Control'#7#5'Owner'#20'AnchorSideRight.Si'
|
||||||
+'akRight'#0#8'TabOrder'#2#3#0#0#14'TDirectoryEdit'#9'DEProject'#4'Left'#3#152
|
+'de'#7#9'asrBottom'#4'Left'#3#167#0#6'Height'#2#27#3'Top'#2#16#5'Width'#3#144
|
||||||
+#0#6'Height'#2#23#3'Top'#2'0'#5'Width'#3#135#1#11'ButtonWidth'#2#23#9'NumGly'
|
+#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#18'BorderSpacing.Left'#2#6
|
||||||
+'phs'#2#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#11'ParentColor'#8#8
|
+#19'BorderSpacing.Right'#2#6#8'TabOrder'#2#3#0#0#14'TDirectoryEdit'#9'DEProj'
|
||||||
+'TabOrder'#2#4#0#0#0
|
+'ect'#22'AnchorSideLeft.Control'#7#12'EProjectName'#20'AnchorSideRight.Side'
|
||||||
|
+#7#9'asrBottom'#4'Left'#3#167#0#6'Height'#2#27#3'Top'#2'0'#5'Width'#3'x'#1#10
|
||||||
|
+'ShowHidden'#8#11'ButtonWidth'#2#23#9'NumGlyphs'#2#1#7'Anchors'#11#5'akTop'#6
|
||||||
|
+'akLeft'#7'akRight'#0#8'TabOrder'#2#4#0#0#0
|
||||||
]);
|
]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user