project templates: improved layout, from Graeme, bug #13793

git-svn-id: trunk@20128 -
This commit is contained in:
mattias 2009-05-22 15:50:39 +00:00
parent c43a1a19c5
commit af800dd81b
2 changed files with 61 additions and 50 deletions

View File

@ -3,31 +3,29 @@ object ProjectVariablesForm: TProjectVariablesForm
Height = 326
Top = 306
Width = 573
ActiveControl = BOK
ActiveControl = EProjectName
Caption = 'New project from template'
ClientHeight = 326
ClientWidth = 573
OnShow = ProjectVariablesFormShow
Position = poScreenCenter
LCLVersion = '0.9.25'
LCLVersion = '0.9.27'
object Label1: TLabel
Left = 8
Height = 23
Height = 18
Top = 16
Width = 131
Width = 153
Alignment = taRightJustify
AutoSize = False
Caption = '&Name for new project:'
Layout = tlCenter
ParentColor = False
end
object Label2: TLabel
Left = 8
Height = 22
Height = 18
Top = 48
Width = 131
Width = 133
Alignment = taRightJustify
AutoSize = False
Caption = 'Create in &directory:'
Layout = tlCenter
ParentColor = False
@ -53,11 +51,13 @@ object ProjectVariablesForm: TProjectVariablesForm
AutoFillColumns = True
ColCount = 3
DefaultColWidth = 120
ExtendedSelect = True
FixedColor = clBtnFace
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goColSizing, goEditing, goAlwaysShowEditor, goDblClickAutoSize, goSmoothScroll]
RowCount = 5
TabOrder = 5
ColWidths = (
120
216
217
)
end
object BOK: TButton
Left = 485
@ -85,22 +85,30 @@ object ProjectVariablesForm: TProjectVariablesForm
TabOrder = 2
end
object EProjectName: TEdit
Left = 152
Height = 23
AnchorSideLeft.Control = Label1
AnchorSideLeft.Side = asrBottom
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 167
Height = 27
Top = 16
Width = 311
Width = 400
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 6
BorderSpacing.Right = 6
TabOrder = 3
end
object DEProject: TDirectoryEdit
Left = 152
Height = 23
AnchorSideLeft.Control = EProjectName
AnchorSideRight.Side = asrBottom
Left = 167
Height = 27
Top = 48
Width = 391
Width = 376
ShowHidden = False
ButtonWidth = 23
NumGlyphs = 1
Anchors = [akTop, akLeft, akRight]
ParentColor = False
TabOrder = 4
end
end

View File

@ -2,36 +2,39 @@
LazarusResources.Add('TProjectVariablesForm','FORMDATA',[
'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'
+'ption'#6#25'New project from template'#12'ClientHeight'#3'F'#1#11'ClientWid'
+'th'#3'='#2#6'OnShow'#7#24'ProjectVariablesFormShow'#8'Position'#7#14'poScre'
+'enCenter'#10'LCLVersion'#6#6'0.9.25'#0#6'TLabel'#6'Label1'#4'Left'#2#8#6'He'
+'ight'#2#23#3'Top'#2#16#5'Width'#3#131#0#9'Alignment'#7#14'taRightJustify'#8
+'AutoSize'#8#7'Caption'#6#22'&Name for new project:'#6'Layout'#7#8'tlCenter'
+#11'ParentColor'#8#0#0#6'TLabel'#6'Label2'#4'Left'#2#8#6'Height'#2#22#3'Top'
+#2'0'#5'Width'#3#131#0#9'Alignment'#7#14'taRightJustify'#8'AutoSize'#8#7'Cap'
+'tion'#6#21'Create in &directory:'#6'Layout'#7#8'tlCenter'#11'ParentColor'#8
+#0#0#6'TPanel'#12'PDescription'#4'Left'#2#8#6'Height'#2':'#3'Top'#2'P'#5'Wid'
+'th'#3'/'#2#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#10'BevelInner'#7#8
+'bvRaised'#10'BevelOuter'#7#9'bvLowered'#7'Caption'#6'ZThis project contains'
+' some additional variables. Please provide values for these variables'#11'F'
+'ullRepaint'#8#8'TabOrder'#2#0#0#0#11'TStringGrid'#11'SGVariables'#4'Left'#2
+#10#6'Height'#3#138#0#3'Top'#3#144#0#5'Width'#3'-'#2#7'Anchors'#11#5'akTop'#6
+'akLeft'#7'akRight'#8'akBottom'#0#15'AutoFillColumns'#9#8'ColCount'#2#3#15'D'
+'efaultColWidth'#2'x'#14'ExtendedSelect'#9#10'FixedColor'#7#9'clBtnFace'#7'O'
+'ptions'#11#15'goFixedVertLine'#15'goFixedHorzLine'#10'goVertLine'#10'goHorz'
+'Line'#13'goRangeSelect'#11'goColSizing'#9'goEditing'#18'goAlwaysShowEditor'
+#18'goDblClickAutoSize'#14'goSmoothScroll'#0#8'RowCount'#2#5#8'TabOrder'#2#5
+#0#0#7'TButton'#3'BOK'#4'Left'#3#229#1#6'Height'#2#25#3'Top'#3'"'#1#5'Width'
+#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#25'BorderSpacing.InnerBorder'#2
+#4#7'Caption'#6#3'&OK'#7'Default'#9#11'ModalResult'#2#1#7'OnClick'#7#8'BOKCl'
+'ick'#8'TabOrder'#2#1#0#0#7'TButton'#7'BCancel'#4'Left'#3#141#1#6'Height'#2
+#25#3'Top'#3'"'#1#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#25'Bo'
+'rderSpacing.InnerBorder'#2#4#6'Cancel'#9#7'Caption'#6#7'&Cancel'#11'ModalRe'
+'sult'#2#2#8'TabOrder'#2#2#0#0#5'TEdit'#12'EProjectName'#4'Left'#3#152#0#6'H'
+'eight'#2#23#3'Top'#2#16#5'Width'#3'7'#1#7'Anchors'#11#5'akTop'#6'akLeft'#7
+'akRight'#0#8'TabOrder'#2#3#0#0#14'TDirectoryEdit'#9'DEProject'#4'Left'#3#152
+#0#6'Height'#2#23#3'Top'#2'0'#5'Width'#3#135#1#11'ButtonWidth'#2#23#9'NumGly'
+'phs'#2#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#11'ParentColor'#8#8
+'TabOrder'#2#4#0#0#0
+'eight'#3'F'#1#3'Top'#3'2'#1#5'Width'#3'='#2#13'ActiveControl'#7#12'EProject'
+'Name'#7'Caption'#6#25'New project from template'#12'ClientHeight'#3'F'#1#11
+'ClientWidth'#3'='#2#6'OnShow'#7#24'ProjectVariablesFormShow'#8'Position'#7
+#14'poScreenCenter'#10'LCLVersion'#6#6'0.9.27'#0#6'TLabel'#6'Label1'#4'Left'
+#2#8#6'Height'#2#18#3'Top'#2#16#5'Width'#3#153#0#9'Alignment'#7#14'taRightJu'
+'stify'#7'Caption'#6#22'&Name for new project:'#6'Layout'#7#8'tlCenter'#11'P'
+'arentColor'#8#0#0#6'TLabel'#6'Label2'#4'Left'#2#8#6'Height'#2#18#3'Top'#2'0'
+#5'Width'#3#133#0#9'Alignment'#7#14'taRightJustify'#7'Caption'#6#21'Create i'
+'n &directory:'#6'Layout'#7#8'tlCenter'#11'ParentColor'#8#0#0#6'TPanel'#12'P'
+'Description'#4'Left'#2#8#6'Height'#2':'#3'Top'#2'P'#5'Width'#3'/'#2#7'Ancho'
+'rs'#11#5'akTop'#6'akLeft'#7'akRight'#0#10'BevelInner'#7#8'bvRaised'#10'Beve'
+'lOuter'#7#9'bvLowered'#7'Caption'#6'ZThis project contains some additional '
+'variables. Please provide values for these variables'#11'FullRepaint'#8#8'T'
+'abOrder'#2#0#0#0#11'TStringGrid'#11'SGVariables'#4'Left'#2#10#6'Height'#3
+#138#0#3'Top'#3#144#0#5'Width'#3'-'#2#7'Anchors'#11#5'akTop'#6'akLeft'#7'akR'
+'ight'#8'akBottom'#0#15'AutoFillColumns'#9#8'ColCount'#2#3#15'DefaultColWidt'
+'h'#2'x'#7'Options'#11#15'goFixedVertLine'#15'goFixedHorzLine'#10'goVertLine'
+#10'goHorzLine'#13'goRangeSelect'#11'goColSizing'#9'goEditing'#18'goAlwaysSh'
+'owEditor'#18'goDblClickAutoSize'#14'goSmoothScroll'#0#8'TabOrder'#2#5#9'Col'
+'Widths'#1#2'x'#3#216#0#3#217#0#0#0#0#7'TButton'#3'BOK'#4'Left'#3#229#1#6'He'
+'ight'#2#25#3'Top'#3'"'#1#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'
+#0#25'BorderSpacing.InnerBorder'#2#4#7'Caption'#6#3'&OK'#7'Default'#9#11'Mod'
+'alResult'#2#1#7'OnClick'#7#8'BOKClick'#8'TabOrder'#2#1#0#0#7'TButton'#7'BCa'
+'ncel'#4'Left'#3#141#1#6'Height'#2#25#3'Top'#3'"'#1#5'Width'#2'K'#7'Anchors'
+#11#7'akRight'#8'akBottom'#0#25'BorderSpacing.InnerBorder'#2#4#6'Cancel'#9#7
+'Caption'#6#7'&Cancel'#11'ModalResult'#2#2#8'TabOrder'#2#2#0#0#5'TEdit'#12'E'
+'ProjectName'#22'AnchorSideLeft.Control'#7#6'Label1'#19'AnchorSideLeft.Side'
+#7#9'asrBottom'#23'AnchorSideRight.Control'#7#5'Owner'#20'AnchorSideRight.Si'
+'de'#7#9'asrBottom'#4'Left'#3#167#0#6'Height'#2#27#3'Top'#2#16#5'Width'#3#144
+#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#18'BorderSpacing.Left'#2#6
+#19'BorderSpacing.Right'#2#6#8'TabOrder'#2#3#0#0#14'TDirectoryEdit'#9'DEProj'
+'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
]);