From ae2bc38c9e002800e47924bd8a935244dcbdb272 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 13 Dec 2005 23:33:16 +0000 Subject: [PATCH] improved help options dlg layout from Martin Smat git-svn-id: trunk@8308 - --- ide/helpoptions.lfm | 88 ++++++++++++++++++++++----------------------- ide/helpoptions.lrs | 62 ++++++++++++++++---------------- 2 files changed, 74 insertions(+), 76 deletions(-) diff --git a/ide/helpoptions.lfm b/ide/helpoptions.lfm index 3412331a13..46797343ea 100644 --- a/ide/helpoptions.lfm +++ b/ide/helpoptions.lfm @@ -6,14 +6,15 @@ object HelpOptionsDialog: THelpOptionsDialog OnCreate = HelpOptionsDialogCreate PixelsPerInch = 90 Position = poScreenCenter - HorzScrollBar.Page = 501 - VertScrollBar.Page = 301 + HorzScrollBar.Page = 499 + VertScrollBar.Page = 299 Left = 291 Height = 300 Top = 163 Width = 500 object OkButton: TButton Anchors = [akRight, akBottom] + BorderSpacing.InnerBorder = 2 Caption = 'OkButton' OnClick = OkButtonClick TabOrder = 0 @@ -24,6 +25,7 @@ object HelpOptionsDialog: THelpOptionsDialog end object CancelButton: TButton Anchors = [akRight, akBottom] + BorderSpacing.InnerBorder = 2 Caption = 'CancelButton' OnClick = CancelButtonClick TabOrder = 1 @@ -40,80 +42,76 @@ object HelpOptionsDialog: THelpOptionsDialog Width = 500 object ViewersPage: TPage Caption = 'ViewersPage' - ClientWidth = 496 - ClientHeight = 226 - Left = 2 - Height = 226 - Top = 28 - Width = 496 + ClientWidth = 492 + ClientHeight = 230 + Height = 230 + Width = 492 + object ViewersLabel: TLabel + Caption = 'ViewersLabel' + Color = clNone + ParentColor = False + Left = 8 + Height = 14 + Top = 10 + Width = 63 + end object ViewersListBox: TListBox Anchors = [akTop, akLeft, akBottom] ClickOnSelChange = False OnSelectionChange = ViewersListBoxSelectionChange TabOrder = 0 - TopIndex = -1 - Left = 8 - Height = 180 + Left = 6 + Height = 190 Top = 36 - Width = 149 - end - object ViewersLabel: TLabel - Caption = 'ViewersLabel' - Left = 8 - Height = 23 - Top = 4 - Width = 149 + Width = 152 end object ViewerPropsGroupBox: TGroupBox Anchors = [akTop, akLeft, akRight, akBottom] Caption = 'ViewerPropsGroupBox' - ClientHeight = 192 - ClientWidth = 316 - ParentColor = True - TabOrder = 2 - Left = 168 - Height = 209 - Top = 7 - Width = 320 + ClientHeight = 198 + ClientWidth = 312 + TabOrder = 1 + Left = 166 + Height = 216 + Top = 10 + Width = 316 end end object DataBasePage: TPage Caption = 'DataBasePage' - ClientWidth = 496 - ClientHeight = 226 - Left = 2 - Height = 226 - Top = 28 - Width = 496 + ClientWidth = 492 + ClientHeight = 230 + Height = 230 + Width = 492 object DatabasesLabel: TLabel Caption = 'DatabasesLabel' + Color = clNone + ParentColor = False Left = 6 - Height = 17 + Height = 14 Top = 10 - Width = 65 + Width = 77 end object DatabasesListBox: TListBox Anchors = [akTop, akLeft, akBottom] ClickOnSelChange = False OnSelectionChange = DatabasesListBoxSelectionChange - TabOrder = 1 - TopIndex = -1 + TabOrder = 0 Left = 6 - Height = 186 + Height = 190 Top = 36 Width = 152 end object DataBasesPropsGroupBox: TGroupBox Anchors = [akTop, akLeft, akRight, akBottom] Caption = 'DataBasesPropsGroupBox' - ClientHeight = 200 - ClientWidth = 319 - ParentColor = True - TabOrder = 2 + ClientHeight = 198 + ClientWidth = 315 + TabOrder = 1 Left = 166 - Height = 217 - Top = 4 - Width = 323 + Height = 216 + Top = 10 + Width = 319 end end end diff --git a/ide/helpoptions.lrs b/ide/helpoptions.lrs index d57504c7ba..fff06f0a90 100644 --- a/ide/helpoptions.lrs +++ b/ide/helpoptions.lrs @@ -4,36 +4,36 @@ LazarusResources.Add('THelpOptionsDialog','FORMDATA',[ 'TPF0'#18'THelpOptionsDialog'#17'HelpOptionsDialog'#7'Caption'#6#17'HelpOptio' +'nsDialog'#12'ClientHeight'#3','#1#11'ClientWidth'#3#244#1#7'OnClose'#7#22'H' +'elpOptionsDialogClose'#8'OnCreate'#7#23'HelpOptionsDialogCreate'#13'PixelsP' - +'erInch'#2'Z'#8'Position'#7#14'poScreenCenter'#18'HorzScrollBar.Page'#3#245#1 - +#18'VertScrollBar.Page'#3'-'#1#4'Left'#3'#'#1#6'Height'#3','#1#3'Top'#3#163#0 + +'erInch'#2'Z'#8'Position'#7#14'poScreenCenter'#18'HorzScrollBar.Page'#3#243#1 + +#18'VertScrollBar.Page'#3'+'#1#4'Left'#3'#'#1#6'Height'#3','#1#3'Top'#3#163#0 +#5'Width'#3#244#1#0#7'TButton'#8'OkButton'#7'Anchors'#11#7'akRight'#8'akBott' - +'om'#0#7'Caption'#6#8'OkButton'#7'OnClick'#7#13'OkButtonClick'#8'TabOrder'#2 - +#0#4'Left'#3'$'#1#6'Height'#2#25#3'Top'#3#8#1#5'Width'#2'K'#0#0#7'TButton'#12 - +'CancelButton'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#12'Cancel' - +'Button'#7'OnClick'#7#17'CancelButtonClick'#8'TabOrder'#2#1#4'Left'#3#132#1#6 - +'Height'#2#25#3'Top'#3#8#1#5'Width'#2'K'#0#0#9'TNotebook'#12'MainNotebook'#5 - +'Align'#7#5'alTop'#7'Anchors'#11#5'akTop'#6'akLeft'#8'akBottom'#0#9'PageInde' - +'x'#2#1#6'Height'#3#0#1#5'Width'#3#244#1#0#5'TPage'#11'ViewersPage'#7'Captio' - +'n'#6#11'ViewersPage'#11'ClientWidth'#3#240#1#12'ClientHeight'#3#226#0#4'Lef' - +'t'#2#2#6'Height'#3#226#0#3'Top'#2#28#5'Width'#3#240#1#0#8'TListBox'#14'View' - +'ersListBox'#7'Anchors'#11#5'akTop'#6'akLeft'#8'akBottom'#0#16'ClickOnSelCha' - +'nge'#8#17'OnSelectionChange'#7#29'ViewersListBoxSelectionChange'#8'TabOrder' - +#2#0#8'TopIndex'#2#255#4'Left'#2#8#6'Height'#3#180#0#3'Top'#2'$'#5'Width'#3 - +#149#0#0#0#6'TLabel'#12'ViewersLabel'#7'Caption'#6#12'ViewersLabel'#4'Left'#2 - +#8#6'Height'#2#23#3'Top'#2#4#5'Width'#3#149#0#0#0#9'TGroupBox'#19'ViewerProp' - +'sGroupBox'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#7'Capt' - +'ion'#6#19'ViewerPropsGroupBox'#12'ClientHeight'#3#192#0#11'ClientWidth'#3'<' - +#1#11'ParentColor'#9#8'TabOrder'#2#2#4'Left'#3#168#0#6'Height'#3#209#0#3'Top' - +#2#7#5'Width'#3'@'#1#0#0#0#5'TPage'#12'DataBasePage'#7'Caption'#6#12'DataBas' - +'ePage'#11'ClientWidth'#3#240#1#12'ClientHeight'#3#226#0#4'Left'#2#2#6'Heigh' - +'t'#3#226#0#3'Top'#2#28#5'Width'#3#240#1#0#6'TLabel'#14'DatabasesLabel'#7'Ca' - +'ption'#6#14'DatabasesLabel'#4'Left'#2#6#6'Height'#2#17#3'Top'#2#10#5'Width' - +#2'A'#0#0#8'TListBox'#16'DatabasesListBox'#7'Anchors'#11#5'akTop'#6'akLeft'#8 - +'akBottom'#0#16'ClickOnSelChange'#8#17'OnSelectionChange'#7#31'DatabasesList' - +'BoxSelectionChange'#8'TabOrder'#2#1#8'TopIndex'#2#255#4'Left'#2#6#6'Height' - +#3#186#0#3'Top'#2'$'#5'Width'#3#152#0#0#0#9'TGroupBox'#22'DataBasesPropsGrou' - +'pBox'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#7'Caption'#6 - +#22'DataBasesPropsGroupBox'#12'ClientHeight'#3#200#0#11'ClientWidth'#3'?'#1 - +#11'ParentColor'#9#8'TabOrder'#2#2#4'Left'#3#166#0#6'Height'#3#217#0#3'Top'#2 - +#4#5'Width'#3'C'#1#0#0#0#0#0 + +'om'#0#25'BorderSpacing.InnerBorder'#2#2#7'Caption'#6#8'OkButton'#7'OnClick' + +#7#13'OkButtonClick'#8'TabOrder'#2#0#4'Left'#3'$'#1#6'Height'#2#25#3'Top'#3#8 + +#1#5'Width'#2'K'#0#0#7'TButton'#12'CancelButton'#7'Anchors'#11#7'akRight'#8 + +'akBottom'#0#25'BorderSpacing.InnerBorder'#2#2#7'Caption'#6#12'CancelButton' + +#7'OnClick'#7#17'CancelButtonClick'#8'TabOrder'#2#1#4'Left'#3#132#1#6'Height' + +#2#25#3'Top'#3#8#1#5'Width'#2'K'#0#0#9'TNotebook'#12'MainNotebook'#5'Align'#7 + +#5'alTop'#7'Anchors'#11#5'akTop'#6'akLeft'#8'akBottom'#0#9'PageIndex'#2#1#6 + +'Height'#3#0#1#5'Width'#3#244#1#0#5'TPage'#11'ViewersPage'#7'Caption'#6#11'V' + +'iewersPage'#11'ClientWidth'#3#236#1#12'ClientHeight'#3#230#0#6'Height'#3#230 + +#0#5'Width'#3#236#1#0#6'TLabel'#12'ViewersLabel'#7'Caption'#6#12'ViewersLabe' + +'l'#5'Color'#7#6'clNone'#11'ParentColor'#8#4'Left'#2#8#6'Height'#2#14#3'Top' + +#2#10#5'Width'#2'?'#0#0#8'TListBox'#14'ViewersListBox'#7'Anchors'#11#5'akTop' + +#6'akLeft'#8'akBottom'#0#16'ClickOnSelChange'#8#17'OnSelectionChange'#7#29'V' + +'iewersListBoxSelectionChange'#8'TabOrder'#2#0#4'Left'#2#6#6'Height'#3#190#0 + +#3'Top'#2'$'#5'Width'#3#152#0#0#0#9'TGroupBox'#19'ViewerPropsGroupBox'#7'Anc' + +'hors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#7'Caption'#6#19'Viewer' + +'PropsGroupBox'#12'ClientHeight'#3#198#0#11'ClientWidth'#3'8'#1#8'TabOrder'#2 + +#1#4'Left'#3#166#0#6'Height'#3#216#0#3'Top'#2#10#5'Width'#3'<'#1#0#0#0#5'TPa' + +'ge'#12'DataBasePage'#7'Caption'#6#12'DataBasePage'#11'ClientWidth'#3#236#1 + +#12'ClientHeight'#3#230#0#6'Height'#3#230#0#5'Width'#3#236#1#0#6'TLabel'#14 + +'DatabasesLabel'#7'Caption'#6#14'DatabasesLabel'#5'Color'#7#6'clNone'#11'Par' + +'entColor'#8#4'Left'#2#6#6'Height'#2#14#3'Top'#2#10#5'Width'#2'M'#0#0#8'TLis' + +'tBox'#16'DatabasesListBox'#7'Anchors'#11#5'akTop'#6'akLeft'#8'akBottom'#0#16 + +'ClickOnSelChange'#8#17'OnSelectionChange'#7#31'DatabasesListBoxSelectionCha' + +'nge'#8'TabOrder'#2#0#4'Left'#2#6#6'Height'#3#190#0#3'Top'#2'$'#5'Width'#3 + +#152#0#0#0#9'TGroupBox'#22'DataBasesPropsGroupBox'#7'Anchors'#11#5'akTop'#6 + +'akLeft'#7'akRight'#8'akBottom'#0#7'Caption'#6#22'DataBasesPropsGroupBox'#12 + +'ClientHeight'#3#198#0#11'ClientWidth'#3';'#1#8'TabOrder'#2#1#4'Left'#3#166#0 + +#6'Height'#3#216#0#3'Top'#2#10#5'Width'#3'?'#1#0#0#0#0#0 ]);