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