IDE: in Find/Replace dialog, remove AutoSize from OptionsGroupBox. On Windows the size was wrong when the lowest checkbox was disabled.

git-svn-id: trunk@44287 -
This commit is contained in:
juha 2014-02-28 10:12:07 +00:00
parent cb58ec84c0
commit 4b4d589d8c

View File

@ -1,13 +1,13 @@
object LazFindReplaceDialog: TLazFindReplaceDialog object LazFindReplaceDialog: TLazFindReplaceDialog
Left = 409 Left = 415
Height = 322 Height = 367
Top = 607 Top = 463
Width = 441 Width = 487
ActiveControl = TextToFindComboBox ActiveControl = TextToFindComboBox
BorderIcons = [biSystemMenu] BorderIcons = [biSystemMenu]
Caption = 'LazFindReplaceDialog' Caption = 'LazFindReplaceDialog'
ClientHeight = 322 ClientHeight = 367
ClientWidth = 441 ClientWidth = 487
Constraints.MinHeight = 280 Constraints.MinHeight = 280
Constraints.MinWidth = 300 Constraints.MinWidth = 300
KeyPreview = True KeyPreview = True
@ -19,9 +19,9 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
AnchorSideTop.Control = TextToFindComboBox AnchorSideTop.Control = TextToFindComboBox
AnchorSideTop.Side = asrCenter AnchorSideTop.Side = asrCenter
Left = 6 Left = 6
Height = 15 Height = 20
Top = 17 Top = 16
Width = 95 Width = 109
Alignment = taRightJustify Alignment = taRightJustify
BorderSpacing.Left = 6 BorderSpacing.Left = 6
Caption = 'TextToFindLabel' Caption = 'TextToFindLabel'
@ -34,8 +34,8 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = TextToFindComboBox AnchorSideBottom.Control = TextToFindComboBox
AnchorSideBottom.Side = asrBottom AnchorSideBottom.Side = asrBottom
Left = 410 Left = 456
Height = 25 Height = 28
Top = 12 Top = 12
Width = 25 Width = 25
AllowAllUp = True AllowAllUp = True
@ -51,9 +51,9 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
AnchorSideTop.Control = ReplaceTextComboBox AnchorSideTop.Control = ReplaceTextComboBox
AnchorSideTop.Side = asrCenter AnchorSideTop.Side = asrCenter
Left = 6 Left = 6
Height = 21 Height = 24
Top = 45 Top = 48
Width = 160 Width = 172
BorderSpacing.Left = 6 BorderSpacing.Left = 6
Caption = 'ReplaceWithCheckbox' Caption = 'ReplaceWithCheckbox'
OnChange = ReplaceWithCheckboxChange OnChange = ReplaceWithCheckboxChange
@ -63,15 +63,15 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
AnchorSideLeft.Control = TextToFindLabel AnchorSideLeft.Control = TextToFindLabel
AnchorSideLeft.Side = asrBottom AnchorSideLeft.Side = asrBottom
AnchorSideRight.Control = EnableAutoCompleteSpeedButton AnchorSideRight.Control = EnableAutoCompleteSpeedButton
Left = 107 Left = 121
Height = 25 Height = 28
Top = 12 Top = 12
Width = 303 Width = 335
Anchors = [akTop, akLeft, akRight] Anchors = [akTop, akLeft, akRight]
AutoComplete = True AutoComplete = True
AutoCompleteText = [cbactEnabled, cbactEndOfLineComplete, cbactRetainPrefixCase, cbactSearchAscending] AutoCompleteText = [cbactEnabled, cbactEndOfLineComplete, cbactRetainPrefixCase, cbactSearchAscending]
BorderSpacing.Left = 6 BorderSpacing.Left = 6
ItemHeight = 0 ItemHeight = 20
OnKeyDown = TextToFindComboboxKeyDown OnKeyDown = TextToFindComboboxKeyDown
TabOrder = 0 TabOrder = 0
Text = 'TextToFindComboBox' Text = 'TextToFindComboBox'
@ -83,16 +83,16 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
AnchorSideTop.Side = asrBottom AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
Left = 178 Left = 190
Height = 25 Height = 28
Top = 43 Top = 46
Width = 257 Width = 291
Anchors = [akTop, akLeft, akRight] Anchors = [akTop, akLeft, akRight]
AutoComplete = True AutoComplete = True
AutoCompleteText = [cbactEnabled, cbactEndOfLineComplete, cbactRetainPrefixCase, cbactSearchAscending] AutoCompleteText = [cbactEnabled, cbactEndOfLineComplete, cbactRetainPrefixCase, cbactSearchAscending]
BorderSpacing.Left = 6 BorderSpacing.Left = 6
BorderSpacing.Around = 6 BorderSpacing.Around = 6
ItemHeight = 0 ItemHeight = 20
OnKeyDown = TextToFindComboboxKeyDown OnKeyDown = TextToFindComboboxKeyDown
TabOrder = 2 TabOrder = 2
Text = 'ReplaceTextComboBox' Text = 'ReplaceTextComboBox'
@ -101,27 +101,27 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
AnchorSideLeft.Control = Owner AnchorSideLeft.Control = Owner
AnchorSideTop.Control = ReplaceTextComboBox AnchorSideTop.Control = ReplaceTextComboBox
AnchorSideTop.Side = asrBottom AnchorSideTop.Side = asrBottom
AnchorSideBottom.Control = DirectionGroupBox
AnchorSideBottom.Side = asrBottom
Left = 6 Left = 6
Height = 197 Height = 222
Top = 74 Top = 80
Width = 222 Width = 231
Anchors = [akTop, akLeft, akBottom] Anchors = [akTop, akLeft, akBottom]
AutoSize = True
BorderSpacing.Left = 6 BorderSpacing.Left = 6
BorderSpacing.Top = 6 BorderSpacing.Top = 6
BorderSpacing.Bottom = 6
Caption = 'OptionsGroupBox' Caption = 'OptionsGroupBox'
ClientHeight = 178 ClientHeight = 200
ClientWidth = 218 ClientWidth = 227
TabOrder = 3 TabOrder = 3
OnResize = OptionsGroupBoxResize OnResize = OptionsGroupBoxResize
object PromptOnReplaceCheckBox: TCheckBox object PromptOnReplaceCheckBox: TCheckBox
Left = 6 Left = 6
Height = 21 Height = 24
Top = 144 Top = 144
Width = 206 Width = 215
Align = alTop Align = alTop
BorderSpacing.Top = 6 BorderSpacing.Top = 3
BorderSpacing.Around = 6 BorderSpacing.Around = 6
Caption = 'PromptOnReplaceCheckBox' Caption = 'PromptOnReplaceCheckBox'
Checked = True Checked = True
@ -132,11 +132,11 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
end end
object MultiLineCheckBox: TCheckBox object MultiLineCheckBox: TCheckBox
Left = 6 Left = 6
Height = 21 Height = 24
Top = 111 Top = 111
Width = 206 Width = 215
Align = alTop Align = alTop
BorderSpacing.Top = 6 BorderSpacing.Top = 3
BorderSpacing.Around = 6 BorderSpacing.Around = 6
Caption = 'MultiLineCheckBox' Caption = 'MultiLineCheckBox'
ParentShowHint = False ParentShowHint = False
@ -145,11 +145,11 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
end end
object RegularExpressionsCheckBox: TCheckBox object RegularExpressionsCheckBox: TCheckBox
Left = 6 Left = 6
Height = 21 Height = 24
Top = 78 Top = 78
Width = 206 Width = 215
Align = alTop Align = alTop
BorderSpacing.Top = 6 BorderSpacing.Top = 3
BorderSpacing.Around = 6 BorderSpacing.Around = 6
Caption = 'RegularExpressionsCheckBox' Caption = 'RegularExpressionsCheckBox'
ParentShowHint = False ParentShowHint = False
@ -158,11 +158,11 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
end end
object WholeWordsOnlyCheckBox: TCheckBox object WholeWordsOnlyCheckBox: TCheckBox
Left = 6 Left = 6
Height = 21 Height = 24
Top = 45 Top = 45
Width = 206 Width = 215
Align = alTop Align = alTop
BorderSpacing.Top = 6 BorderSpacing.Top = 3
BorderSpacing.Around = 6 BorderSpacing.Around = 6
Caption = 'WholeWordsOnlyCheckBox' Caption = 'WholeWordsOnlyCheckBox'
ParentShowHint = False ParentShowHint = False
@ -171,9 +171,9 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
end end
object CaseSensitiveCheckBox: TCheckBox object CaseSensitiveCheckBox: TCheckBox
Left = 6 Left = 6
Height = 21 Height = 24
Top = 12 Top = 12
Width = 206 Width = 215
Align = alTop Align = alTop
BorderSpacing.Top = 6 BorderSpacing.Top = 6
BorderSpacing.Around = 6 BorderSpacing.Around = 6
@ -190,10 +190,10 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
AnchorSideTop.Side = asrBottom AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
Left = 234 Left = 243
Height = 61 Height = 70
Top = 141 Top = 156
Width = 201 Width = 238
Anchors = [akTop, akLeft, akRight] Anchors = [akTop, akLeft, akRight]
AutoSize = True AutoSize = True
BorderSpacing.Around = 6 BorderSpacing.Around = 6
@ -205,22 +205,22 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
ChildSizing.ShrinkVertical = crsHomogenousSpaceResize ChildSizing.ShrinkVertical = crsHomogenousSpaceResize
ChildSizing.Layout = cclLeftToRightThenTopToBottom ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1 ChildSizing.ControlsPerLine = 1
ClientHeight = 42 ClientHeight = 48
ClientWidth = 197 ClientWidth = 234
TabOrder = 5 TabOrder = 5
object SelectedRadioButton: TRadioButton object SelectedRadioButton: TRadioButton
Left = 6 Left = 6
Height = 21 Height = 24
Top = 0 Top = 0
Width = 185 Width = 222
Caption = 'SelectedRadioButton' Caption = 'SelectedRadioButton'
TabOrder = 0 TabOrder = 0
end end
object GlobalRadioButton: TRadioButton object GlobalRadioButton: TRadioButton
Left = 6 Left = 6
Height = 21 Height = 24
Top = 21 Top = 24
Width = 185 Width = 222
Caption = 'GlobalRadioButton' Caption = 'GlobalRadioButton'
Checked = True Checked = True
TabOrder = 1 TabOrder = 1
@ -234,10 +234,10 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
AnchorSideTop.Side = asrBottom AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
Left = 234 Left = 243
Height = 61 Height = 70
Top = 208 Top = 232
Width = 201 Width = 238
Anchors = [akTop, akLeft, akRight] Anchors = [akTop, akLeft, akRight]
AutoSize = True AutoSize = True
BorderSpacing.Around = 6 BorderSpacing.Around = 6
@ -249,22 +249,22 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
ChildSizing.ShrinkVertical = crsHomogenousSpaceResize ChildSizing.ShrinkVertical = crsHomogenousSpaceResize
ChildSizing.Layout = cclLeftToRightThenTopToBottom ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1 ChildSizing.ControlsPerLine = 1
ClientHeight = 42 ClientHeight = 48
ClientWidth = 197 ClientWidth = 234
TabOrder = 6 TabOrder = 6
object BackwardRadioButton: TRadioButton object BackwardRadioButton: TRadioButton
Left = 6 Left = 6
Height = 21 Height = 24
Top = 0 Top = 0
Width = 185 Width = 222
Caption = 'BackwardRadioButton' Caption = 'BackwardRadioButton'
TabOrder = 0 TabOrder = 0
end end
object ForwardRadioButton: TRadioButton object ForwardRadioButton: TRadioButton
Left = 6 Left = 6
Height = 21 Height = 24
Top = 21 Top = 24
Width = 185 Width = 222
Caption = 'ForwardRadioButton' Caption = 'ForwardRadioButton'
Checked = True Checked = True
TabOrder = 1 TabOrder = 1
@ -278,10 +278,10 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
AnchorSideTop.Side = asrBottom AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = Owner AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
Left = 234 Left = 243
Height = 61 Height = 70
Top = 74 Top = 80
Width = 201 Width = 238
Anchors = [akTop, akLeft, akRight] Anchors = [akTop, akLeft, akRight]
AutoSize = True AutoSize = True
BorderSpacing.Around = 6 BorderSpacing.Around = 6
@ -293,14 +293,14 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
ChildSizing.ShrinkVertical = crsHomogenousSpaceResize ChildSizing.ShrinkVertical = crsHomogenousSpaceResize
ChildSizing.Layout = cclLeftToRightThenTopToBottom ChildSizing.Layout = cclLeftToRightThenTopToBottom
ChildSizing.ControlsPerLine = 1 ChildSizing.ControlsPerLine = 1
ClientHeight = 42 ClientHeight = 48
ClientWidth = 197 ClientWidth = 234
TabOrder = 4 TabOrder = 4
object FromCursorRadioButton: TRadioButton object FromCursorRadioButton: TRadioButton
Left = 6 Left = 6
Height = 21 Height = 24
Top = 0 Top = 0
Width = 185 Width = 222
AutoSize = False AutoSize = False
Caption = 'FromCursorRadioButton' Caption = 'FromCursorRadioButton'
Checked = True Checked = True
@ -309,9 +309,9 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
end end
object EntireScopeRadioButton: TRadioButton object EntireScopeRadioButton: TRadioButton
Left = 6 Left = 6
Height = 21 Height = 24
Top = 21 Top = 24
Width = 185 Width = 222
AutoSize = False AutoSize = False
Caption = 'EntireScopeRadioButton' Caption = 'EntireScopeRadioButton'
TabOrder = 1 TabOrder = 1
@ -319,9 +319,9 @@ object LazFindReplaceDialog: TLazFindReplaceDialog
end end
object BtnPanel: TButtonPanel object BtnPanel: TButtonPanel
Left = 6 Left = 6
Height = 41 Height = 38
Top = 275 Top = 323
Width = 429 Width = 475
OKButton.Name = 'OKButton' OKButton.Name = 'OKButton'
OKButton.DefaultCaption = True OKButton.DefaultCaption = True
OKButton.OnClick = OkButtonClick OKButton.OnClick = OkButtonClick