AutoSize close button

git-svn-id: trunk@7849 -
This commit is contained in:
vincents 2005-09-28 21:33:28 +00:00
parent a9a3aa77de
commit 8f77ec5545
2 changed files with 42 additions and 47 deletions

View File

@ -1,5 +1,5 @@
object AboutForm: TAboutForm object AboutForm: TAboutForm
ActiveControl = CloseButton ActiveControl = AboutPage
Caption = 'About Lazarus' Caption = 'About Lazarus'
ClientHeight = 270 ClientHeight = 270
ClientWidth = 608 ClientWidth = 608
@ -14,7 +14,6 @@ object AboutForm: TAboutForm
Width = 608 Width = 608
object VersionLabel: TLabel object VersionLabel: TLabel
Alignment = taCenter Alignment = taCenter
BorderSpacing.OnChange = nil
Caption = 'Version #:' Caption = 'Version #:'
ParentColor = True ParentColor = True
Left = 14 Left = 14
@ -24,7 +23,6 @@ object AboutForm: TAboutForm
end end
object BuildDateLabel: TLabel object BuildDateLabel: TLabel
Alignment = taCenter Alignment = taCenter
BorderSpacing.OnChange = nil
Caption = 'Date:' Caption = 'Date:'
ParentColor = True ParentColor = True
Left = 14 Left = 14
@ -33,6 +31,7 @@ object AboutForm: TAboutForm
Width = 27 Width = 27
end end
object RevisionLabel: TLabel object RevisionLabel: TLabel
BorderSpacing.OnChange = nil
Caption = 'RevisionLabel' Caption = 'RevisionLabel'
Color = clNone Color = clNone
Left = 14 Left = 14
@ -41,7 +40,7 @@ object AboutForm: TAboutForm
Width = 65 Width = 65
end end
object CloseButton: TBitBtn object CloseButton: TBitBtn
BorderSpacing.OnChange = nil AutoSize = True
Cancel = True Cancel = True
Caption = 'Close' Caption = 'Close'
Glyph.Data = { Glyph.Data = {
@ -73,13 +72,12 @@ object AboutForm: TAboutForm
ModalResult = 1 ModalResult = 1
TabOrder = 1 TabOrder = 1
Left = 70 Left = 70
Height = 25 Height = 36
Top = 225 Top = 225
Width = 75 Width = 73
end end
object Notebook1: TNotebook object Notebook1: TNotebook
Anchors = [akTop, akLeft, akRight, akBottom] Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.OnChange = nil
PageIndex = 0 PageIndex = 0
Left = 215 Left = 215
Height = 261 Height = 261
@ -93,7 +91,6 @@ object AboutForm: TAboutForm
Width = 381 Width = 381
object AboutMemo: TMemo object AboutMemo: TMemo
Align = alClient Align = alClient
BorderSpacing.OnChange = nil
ReadOnly = True ReadOnly = True
ScrollBars = ssAutoBoth ScrollBars = ssAutoBoth
TabOrder = 0 TabOrder = 0
@ -105,11 +102,11 @@ object AboutForm: TAboutForm
Caption = 'Contributors' Caption = 'Contributors'
ClientWidth = 381 ClientWidth = 381
ClientHeight = 235 ClientHeight = 235
Visible = False
Height = 235 Height = 235
Width = 381 Width = 381
object ContributorsMemo: TMemo object ContributorsMemo: TMemo
Align = alClient Align = alClient
BorderSpacing.OnChange = nil
ReadOnly = True ReadOnly = True
ScrollBars = ssAutoBoth ScrollBars = ssAutoBoth
TabOrder = 0 TabOrder = 0

View File

@ -1,42 +1,40 @@
{ This is an automatically generated lazarus resource file } { This is an automatically generated lazarus resource file }
LazarusResources.Add('TAboutForm','FORMDATA',[ LazarusResources.Add('TAboutForm','FORMDATA',[
'TPF0'#10'TAboutForm'#9'AboutForm'#13'ActiveControl'#7#11'CloseButton'#7'Capt' 'TPF0'#10'TAboutForm'#9'AboutForm'#13'ActiveControl'#7#9'AboutPage'#7'Caption'
+'ion'#6#13'About Lazarus'#12'ClientHeight'#3#14#1#11'ClientWidth'#3'`'#2#8'O' +#6#13'About Lazarus'#12'ClientHeight'#3#14#1#11'ClientWidth'#3'`'#2#8'OnCrea'
+'nCreate'#7#15'AboutFormCreate'#13'PixelsPerInch'#2'`'#8'Position'#7#14'poSc' +'te'#7#15'AboutFormCreate'#13'PixelsPerInch'#2'`'#8'Position'#7#14'poScreenC'
+'reenCenter'#18'HorzScrollBar.Page'#3'_'#2#18'VertScrollBar.Page'#3#13#1#4'L' +'enter'#18'HorzScrollBar.Page'#3'_'#2#18'VertScrollBar.Page'#3#13#1#4'Left'#3
+'eft'#3'_'#1#6'Height'#3#14#1#3'Top'#3#133#1#5'Width'#3'`'#2#0#6'TLabel'#12 +'_'#1#6'Height'#3#14#1#3'Top'#3#133#1#5'Width'#3'`'#2#0#6'TLabel'#12'Version'
+'VersionLabel'#9'Alignment'#7#8'taCenter'#22'BorderSpacing.OnChange'#13#7'Ca' +'Label'#9'Alignment'#7#8'taCenter'#7'Caption'#6#10'Version #:'#11'ParentColo'
+'ption'#6#10'Version #:'#11'ParentColor'#9#4'Left'#2#14#6'Height'#2#13#3'Top' +'r'#9#4'Left'#2#14#6'Height'#2#13#3'Top'#2#6#5'Width'#2'2'#0#0#6'TLabel'#14
+#2#6#5'Width'#2'2'#0#0#6'TLabel'#14'BuildDateLabel'#9'Alignment'#7#8'taCente' +'BuildDateLabel'#9'Alignment'#7#8'taCenter'#7'Caption'#6#5'Date:'#11'ParentC'
+'r'#22'BorderSpacing.OnChange'#13#7'Caption'#6#5'Date:'#11'ParentColor'#9#4 +'olor'#9#4'Left'#2#14#6'Height'#2#13#3'Top'#2#23#5'Width'#2#27#0#0#6'TLabel'
+'Left'#2#14#6'Height'#2#13#3'Top'#2#23#5'Width'#2#27#0#0#6'TLabel'#13'Revisi' +#13'RevisionLabel'#22'BorderSpacing.OnChange'#13#7'Caption'#6#13'RevisionLab'
+'onLabel'#7'Caption'#6#13'RevisionLabel'#5'Color'#7#6'clNone'#4'Left'#2#14#6 +'el'#5'Color'#7#6'clNone'#4'Left'#2#14#6'Height'#2#13#3'Top'#2'('#5'Width'#2
+'Height'#2#13#3'Top'#2'('#5'Width'#2'A'#0#0#7'TBitBtn'#11'CloseButton'#22'Bo' +'A'#0#0#7'TBitBtn'#11'CloseButton'#8'AutoSize'#9#6'Cancel'#9#7'Caption'#6#5
+'rderSpacing.OnChange'#13#6'Cancel'#9#7'Caption'#6#5'Close'#10'Glyph.Data'#10 +'Close'#10'Glyph.Data'#10#251#2#0#0#247#2#0#0'/* XPM */'#10'static char * bo'
+#251#2#0#0#247#2#0#0'/* XPM */'#10'static char * botaoFechar_xpm[] = {'#10'"' +'taoFechar_xpm[] = {'#10'"24 24 2 1",'#10'" '#9'c None",'#10'".'#9'c #000000'
+'24 24 2 1",'#10'" '#9'c None",'#10'".'#9'c #000000",'#10'" ' +'",'#10'" ",'#10'" ",'#10'" '
+' ",'#10'" ",'#10'" ",'
+#10'" ",'#10'" ",'#10'" '
+' ",'#10'" . . ",'#10'" . ... '
+' ",'#10'" .. .... ",'#10'" .. ... ",'#10
+'" ..... ",'#10'" ... ",'#10'" .'
+'.... ",'#10'" ....... ",'#10'" ... .... '
+' ",'#10'" ... .... ",'#10'" ... .. ",'#10'"'
+' ",'#10'" ",'#10'" ' +' ",'#10'" ",'#10'" '
+' ",'#10'" ",'#10'" ' +' ",'#10'" ",'#10'" . . "'
+' ",'#10'" ",'#10'" "};'#10#11 +','#10'" . ... ",'#10'" .. .... ",'#10'" '
+'ModalResult'#2#1#8'TabOrder'#2#1#4'Left'#2'F'#6'Height'#2#25#3'Top'#3#225#0 +' .. ... ",'#10'" ..... ",'#10'" ... '
+#5'Width'#2'K'#0#0#9'TNotebook'#9'Notebook1'#7'Anchors'#11#5'akTop'#6'akLeft' +' ",'#10'" ..... ",'#10'" ....... ",'
+#7'akRight'#8'akBottom'#0#22'BorderSpacing.OnChange'#13#9'PageIndex'#2#0#4'L' +#10'" ... .... ",'#10'" ... .... ",'#10'" ..'
+'eft'#3#215#0#6'Height'#3#5#1#3'Top'#2#6#5'Width'#3#133#1#0#5'TPage'#9'About' +'. .. ",'#10'" ",'#10'" '
+'Page'#7'Caption'#6#5'About'#11'ClientWidth'#3'}'#1#12'ClientHeight'#3#235#0 +' ",'#10'" ",'#10'" ",'#10
+#6'Height'#3#235#0#5'Width'#3'}'#1#0#5'TMemo'#9'AboutMemo'#5'Align'#7#8'alCl' +'" ",'#10'" ",'#10'" '
+'ient'#22'BorderSpacing.OnChange'#13#8'ReadOnly'#9#10'ScrollBars'#7#10'ssAut' +' "};'#10#11'ModalResult'#2#1#8'TabOrder'#2#1#4'Left'#2'F'#6'He'
+'oBoth'#8'TabOrder'#2#0#6'Height'#3#235#0#5'Width'#3'}'#1#0#0#0#5'TPage'#16 +'ight'#2'$'#3'Top'#3#225#0#5'Width'#2'I'#0#0#9'TNotebook'#9'Notebook1'#7'Anc'
+'ContributorsPage'#7'Caption'#6#12'Contributors'#11'ClientWidth'#3'}'#1#12'C' +'hors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#9'PageIndex'#2#0#4'Lef'
+'lientHeight'#3#235#0#6'Height'#3#235#0#5'Width'#3'}'#1#0#5'TMemo'#16'Contri' +'t'#3#215#0#6'Height'#3#5#1#3'Top'#2#6#5'Width'#3#133#1#0#5'TPage'#9'AboutPa'
+'butorsMemo'#5'Align'#7#8'alClient'#22'BorderSpacing.OnChange'#13#8'ReadOnly' +'ge'#7'Caption'#6#5'About'#11'ClientWidth'#3'}'#1#12'ClientHeight'#3#235#0#6
+#9#10'ScrollBars'#7#10'ssAutoBoth'#8'TabOrder'#2#0#6'Height'#3#235#0#5'Width' +'Height'#3#235#0#5'Width'#3'}'#1#0#5'TMemo'#9'AboutMemo'#5'Align'#7#8'alClie'
+#3'}'#1#0#0#0#0#0 +'nt'#8'ReadOnly'#9#10'ScrollBars'#7#10'ssAutoBoth'#8'TabOrder'#2#0#6'Height'
+#3#235#0#5'Width'#3'}'#1#0#0#0#5'TPage'#16'ContributorsPage'#7'Caption'#6#12
+'Contributors'#11'ClientWidth'#3'}'#1#12'ClientHeight'#3#235#0#7'Visible'#8#6
+'Height'#3#235#0#5'Width'#3'}'#1#0#5'TMemo'#16'ContributorsMemo'#5'Align'#7#8
+'alClient'#8'ReadOnly'#9#10'ScrollBars'#7#10'ssAutoBoth'#8'TabOrder'#2#0#6'H'
+'eight'#3#235#0#5'Width'#3'}'#1#0#0#0#0#0
]); ]);