IDE, Editor file manager dialog: avoid buttons and checkbox jumping when their captions are changed

git-svn-id: trunk@35485 -
This commit is contained in:
maxim 2012-02-19 15:32:14 +00:00
parent 0dd3daffcc
commit 55e336c787

View File

@ -15,7 +15,7 @@ object EditorFileManagerForm: TEditorFileManagerForm
AnchorSideRight.Control = Panel1 AnchorSideRight.Control = Panel1
AnchorSideBottom.Control = ButtonPanel1 AnchorSideBottom.Control = ButtonPanel1
Left = 3 Left = 3
Height = 298 Height = 305
Top = 29 Top = 29
Width = 533 Width = 533
Anchors = [akTop, akLeft, akRight, akBottom] Anchors = [akTop, akLeft, akRight, akBottom]
@ -31,8 +31,8 @@ object EditorFileManagerForm: TEditorFileManagerForm
end end
object ButtonPanel1: TButtonPanel object ButtonPanel1: TButtonPanel
Left = 6 Left = 6
Height = 41 Height = 34
Top = 333 Top = 340
Width = 710 Width = 710
OKButton.Name = 'OKButton' OKButton.Name = 'OKButton'
OKButton.DefaultCaption = True OKButton.DefaultCaption = True
@ -50,38 +50,39 @@ object EditorFileManagerForm: TEditorFileManagerForm
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = ButtonPanel1 AnchorSideBottom.Control = ButtonPanel1
Left = 536 Left = 536
Height = 327 Height = 334
Top = 0 Top = 0
Width = 186 Width = 186
Anchors = [akTop, akRight, akBottom] Anchors = [akTop, akRight, akBottom]
ClientHeight = 327 ClientHeight = 334
ClientWidth = 186 ClientWidth = 186
TabOrder = 2 TabOrder = 2
object SelectAllCheckBox: TCheckBox object SelectAllCheckBox: TCheckBox
AnchorSideLeft.Control = Panel1 AnchorSideLeft.Control = Panel1
AnchorSideLeft.Side = asrCenter
AnchorSideTop.Side = asrBottom AnchorSideTop.Side = asrBottom
Left = 29 Left = 7
Height = 20 Height = 17
Top = 40 Top = 40
Width = 128 Width = 105
BorderSpacing.Top = 21 BorderSpacing.Top = 21
BorderSpacing.Around = 11 BorderSpacing.Around = 6
Caption = 'SelectAllCheckBox' Caption = 'SelectAllCheckBox'
OnClick = SelectAllCheckBoxClick OnClick = SelectAllCheckBoxClick
TabOrder = 0 TabOrder = 0
end end
object SaveCheckedButton: TBitBtn object SaveCheckedButton: TBitBtn
AnchorSideLeft.Control = Panel1 AnchorSideLeft.Control = Panel1
AnchorSideLeft.Side = asrCenter
AnchorSideTop.Control = SelectAllCheckBox AnchorSideTop.Control = SelectAllCheckBox
AnchorSideTop.Side = asrBottom AnchorSideTop.Side = asrBottom
Left = 46 AnchorSideRight.Control = Panel1
Height = 25 AnchorSideRight.Side = asrBottom
Top = 71 Left = 7
Width = 94 Height = 23
Top = 63
Width = 172
Anchors = [akTop, akLeft, akRight]
AutoSize = True AutoSize = True
BorderSpacing.Around = 11 BorderSpacing.Around = 6
Caption = 'Save Checked' Caption = 'Save Checked'
Enabled = False Enabled = False
OnClick = SaveCheckedButtonClick OnClick = SaveCheckedButtonClick
@ -89,15 +90,17 @@ object EditorFileManagerForm: TEditorFileManagerForm
end end
object CloseCheckedButton: TBitBtn object CloseCheckedButton: TBitBtn
AnchorSideLeft.Control = Panel1 AnchorSideLeft.Control = Panel1
AnchorSideLeft.Side = asrCenter
AnchorSideTop.Control = SaveCheckedButton AnchorSideTop.Control = SaveCheckedButton
AnchorSideTop.Side = asrBottom AnchorSideTop.Side = asrBottom
Left = 45 AnchorSideRight.Control = Panel1
Height = 25 AnchorSideRight.Side = asrBottom
Top = 107 Left = 7
Width = 97 Height = 23
Top = 92
Width = 172
Anchors = [akTop, akLeft, akRight]
AutoSize = True AutoSize = True
BorderSpacing.Around = 11 BorderSpacing.Around = 6
Caption = 'Close Checked' Caption = 'Close Checked'
Enabled = False Enabled = False
OnClick = CloseCheckedButtonClick OnClick = CloseCheckedButtonClick
@ -110,7 +113,7 @@ object EditorFileManagerForm: TEditorFileManagerForm
AnchorSideTop.Side = asrBottom AnchorSideTop.Side = asrBottom
Left = 82 Left = 82
Height = 26 Height = 26
Top = 156 Top = 139
Width = 22 Width = 22
BorderSpacing.Top = 24 BorderSpacing.Top = 24
Enabled = False Enabled = False
@ -125,7 +128,7 @@ object EditorFileManagerForm: TEditorFileManagerForm
AnchorSideTop.Side = asrBottom AnchorSideTop.Side = asrBottom
Left = 82 Left = 82
Height = 26 Height = 26
Top = 189 Top = 172
Width = 22 Width = 22
BorderSpacing.Top = 7 BorderSpacing.Top = 7
Enabled = False Enabled = False
@ -151,8 +154,8 @@ object EditorFileManagerForm: TEditorFileManagerForm
AnchorSideTop.Control = SortAlphabeticallyButton AnchorSideTop.Control = SortAlphabeticallyButton
AnchorSideTop.Side = asrCenter AnchorSideTop.Side = asrCenter
Left = 76 Left = 76
Height = 24 Height = 21
Top = 2 Top = 4
Width = 224 Width = 224
ButtonWidth = 23 ButtonWidth = 23
NumGlyphs = 0 NumGlyphs = 0