IDE: editor color option: fixed layout, bug #27434

git-svn-id: branches/fixes_1_4@47888 -
This commit is contained in:
mattias 2015-02-18 18:51:46 +00:00
parent 3cb4d0a391
commit c1e9b58336

View File

@ -1,12 +1,11 @@
object SynColorAttrEditor: TSynColorAttrEditor
Left = 0
Height = 145
Height = 207
Top = 0
Width = 690
ClientHeight = 145
ClientWidth = 690
Width = 714
ClientHeight = 207
ClientWidth = 714
Constraints.MinHeight = 140
LCLVersion = '1.1'
OnResize = pnlElementAttributesResize
TabOrder = 0
DesignLeft = 399
@ -16,46 +15,49 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrCenter
Left = 6
Height = 15
Top = 7
Width = 91
Top = 10
Width = 95
BorderSpacing.Left = 6
Caption = 'ForeGroundLabel'
ParentColor = False
Visible = False
OnResize = pnlElementAttributesResize
end
object BackGroundLabel: TLabel
AnchorSideTop.Control = BackGroundColorBox
AnchorSideTop.Side = asrCenter
Left = 6
Height = 15
Top = 32
Width = 93
Top = 42
Width = 96
BorderSpacing.Left = 6
Caption = 'BackGroundLabel'
ParentColor = False
Visible = False
OnResize = pnlElementAttributesResize
end
object ForeGroundUseDefaultCheckBox: TCheckBox
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = ForegroundColorBox
AnchorSideTop.Side = asrCenter
Left = 6
Height = 19
Height = 24
Top = 5
Width = 192
Width = 208
BorderSpacing.Left = 6
Caption = 'ForeGroundUseDefaultCheckBox'
OnChange = GeneralCheckBoxOnChange
OnResize = pnlElementAttributesResize
TabOrder = 0
end
object ForegroundColorBox: TColorBox
AnchorSideLeft.Control = ColumnPosBevel
AnchorSideTop.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 204
Height = 22
Left = 220
Height = 29
Top = 3
Width = 160
Width = 168
DefaultColorColor = clWhite
Style = [cbStandardColors, cbExtendedColors, cbSystemColors, cbIncludeDefault, cbCustomColor, cbPrettyNames, cbCustomColors]
OnGetColors = ForegroundColorBoxGetColors
@ -72,10 +74,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = ForegroundColorBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 204
Height = 22
Top = 28
Width = 160
Left = 220
Height = 29
Top = 35
Width = 168
DefaultColorColor = clWhite
Style = [cbStandardColors, cbExtendedColors, cbSystemColors, cbIncludeDefault, cbCustomColor, cbPrettyNames, cbCustomColors]
OnGetColors = ForegroundColorBoxGetColors
@ -93,12 +95,13 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrBottom
Left = 6
Height = 19
Top = 30
Width = 194
Height = 24
Top = 37
Width = 209
BorderSpacing.Left = 6
Caption = 'BackGroundUseDefaultCheckBox'
OnChange = GeneralCheckBoxOnChange
OnResize = pnlElementAttributesResize
TabOrder = 3
end
object FrameColorBox: TColorBox
@ -106,10 +109,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = BackGroundColorBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 204
Height = 22
Top = 53
Width = 160
Left = 220
Height = 29
Top = 67
Width = 168
DefaultColorColor = clWhite
Style = [cbStandardColors, cbExtendedColors, cbSystemColors, cbIncludeDefault, cbCustomColor, cbPrettyNames, cbCustomColors]
OnGetColors = ForegroundColorBoxGetColors
@ -127,12 +130,13 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrBottom
Left = 6
Height = 19
Top = 55
Width = 191
Height = 24
Top = 69
Width = 205
BorderSpacing.Left = 6
Caption = 'FrameColorUseDefaultCheckBox'
OnChange = GeneralCheckBoxOnChange
OnResize = pnlElementAttributesResize
TabOrder = 6
end
object pnlUnderline: TPanel
@ -140,16 +144,16 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = FrameEdgesBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 40
Top = 102
Width = 145
Height = 50
Top = 131
Width = 158
AutoSize = True
BorderSpacing.Left = 6
BorderSpacing.Top = 3
BorderSpacing.Bottom = 3
BevelOuter = bvNone
ClientHeight = 40
ClientWidth = 145
ClientHeight = 50
ClientWidth = 158
TabOrder = 11
object TextUnderlineRadioPanel: TPanel
AnchorSideLeft.Control = TextUnderlineCheckBox
@ -157,14 +161,14 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 0
Height = 21
Top = 19
Width = 134
Height = 26
Top = 24
Width = 156
AutoSize = True
BevelInner = bvLowered
BevelOuter = bvNone
ClientHeight = 21
ClientWidth = 134
ClientHeight = 26
ClientWidth = 156
TabOrder = 0
object TextUnderlineRadioOn: TRadioButton
Tag = 3
@ -172,9 +176,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextUnderlineRadioPanel
AnchorSideRight.Control = TextUnderlineRadioOff
Left = 4
Height = 19
Height = 24
Top = 1
Width = 36
Width = 42
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'On'
@ -189,10 +193,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = TextUnderlineRadioOn
AnchorSideRight.Control = TextUnderlineRadioInvert
Left = 43
Height = 19
Left = 49
Height = 24
Top = 1
Width = 37
Width = 44
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'Off'
@ -206,10 +210,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextUnderlineRadioPanel
AnchorSideRight.Control = TextUnderlineRadioPanel
AnchorSideRight.Side = asrBottom
Left = 83
Height = 19
Left = 96
Height = 24
Top = 1
Width = 50
Width = 59
BorderSpacing.Left = 3
Caption = 'Invert'
OnChange = TextStyleRadioOnChange
@ -220,9 +224,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = pnlUnderline
AnchorSideTop.Control = pnlUnderline
Left = 0
Height = 19
Height = 24
Top = 0
Width = 145
Width = 158
Caption = 'TextUnderlineCheckBox'
OnChange = GeneralCheckBoxOnChange
TabOrder = 1
@ -232,15 +236,15 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = pnlUnderline
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = pnlUnderline
Left = 157
Height = 40
Top = 102
Width = 134
Left = 170
Height = 50
Top = 131
Width = 156
AutoSize = True
BorderSpacing.Left = 6
BevelOuter = bvNone
ClientHeight = 40
ClientWidth = 134
ClientHeight = 50
ClientWidth = 156
TabOrder = 12
object TextBoldRadioPanel: TPanel
AnchorSideLeft.Control = TextBoldCheckBox
@ -248,14 +252,14 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 0
Height = 21
Top = 19
Width = 134
Height = 26
Top = 24
Width = 156
AutoSize = True
BevelInner = bvLowered
BevelOuter = bvNone
ClientHeight = 21
ClientWidth = 134
ClientHeight = 26
ClientWidth = 156
TabOrder = 0
object TextBoldRadioInvert: TRadioButton
Tag = 2
@ -264,10 +268,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextBoldRadioPanel
AnchorSideRight.Control = TextBoldRadioPanel
AnchorSideRight.Side = asrBottom
Left = 83
Height = 19
Left = 96
Height = 24
Top = 1
Width = 50
Width = 59
BorderSpacing.Left = 3
Caption = 'Invert'
OnChange = TextStyleRadioOnChange
@ -279,9 +283,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextBoldRadioPanel
AnchorSideRight.Control = TextBoldRadioOff
Left = 4
Height = 19
Height = 24
Top = 1
Width = 36
Width = 42
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'On'
@ -296,10 +300,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = TextBoldRadioPanel
AnchorSideRight.Control = TextBoldRadioInvert
Left = 43
Height = 19
Left = 49
Height = 24
Top = 1
Width = 37
Width = 44
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'Off'
@ -311,9 +315,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = pnlBold
AnchorSideTop.Control = pnlBold
Left = 0
Height = 19
Height = 24
Top = 0
Width = 118
Width = 129
Caption = 'TextBoldCheckBox'
OnChange = GeneralCheckBoxOnChange
TabOrder = 1
@ -323,15 +327,15 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = pnlBold
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = pnlUnderline
Left = 297
Height = 40
Top = 102
Width = 134
Left = 332
Height = 50
Top = 131
Width = 156
AutoSize = True
BorderSpacing.Left = 6
BevelOuter = bvNone
ClientHeight = 40
ClientWidth = 134
ClientHeight = 50
ClientWidth = 156
TabOrder = 13
object TextItalicRadioPanel: TPanel
AnchorSideLeft.Control = TextItalicCheckBox
@ -339,14 +343,14 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 0
Height = 21
Top = 19
Width = 134
Height = 26
Top = 24
Width = 156
AutoSize = True
BevelInner = bvLowered
BevelOuter = bvNone
ClientHeight = 21
ClientWidth = 134
ClientHeight = 26
ClientWidth = 156
TabOrder = 0
object TextItalicRadioInvert: TRadioButton
Tag = 2
@ -355,10 +359,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextItalicRadioPanel
AnchorSideRight.Control = TextItalicRadioPanel
AnchorSideRight.Side = asrBottom
Left = 83
Height = 19
Left = 96
Height = 24
Top = 1
Width = 50
Width = 59
BorderSpacing.Left = 3
Caption = 'Invert'
OnChange = TextStyleRadioOnChange
@ -370,9 +374,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextItalicRadioPanel
AnchorSideRight.Control = TextItalicRadioOff
Left = 4
Height = 19
Height = 24
Top = 1
Width = 36
Width = 42
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'On'
@ -387,10 +391,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = TextItalicRadioPanel
AnchorSideRight.Control = TextItalicRadioInvert
Left = 43
Height = 19
Left = 49
Height = 24
Top = 1
Width = 37
Width = 44
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'Off'
@ -402,9 +406,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = pnlItalic
AnchorSideTop.Control = pnlItalic
Left = 0
Height = 19
Height = 24
Top = 0
Width = 119
Width = 130
Caption = 'TextItalicCheckBox'
OnChange = GeneralCheckBoxOnChange
TabOrder = 1
@ -414,9 +418,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = FrameEdgesBox
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = FrameEdgesBox
Left = 307
Height = 21
Top = 78
Left = 323
Height = 29
Top = 99
Width = 97
BorderSpacing.Left = 6
ItemHeight = 15
@ -438,9 +442,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = FrameColorBox
AnchorSideTop.Control = FrameColorBox
AnchorSideTop.Side = asrBottom
Left = 204
Height = 21
Top = 78
Left = 220
Height = 29
Top = 99
Width = 97
BorderSpacing.Top = 3
ItemHeight = 15
@ -463,9 +467,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = pnlUnderline
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Side = asrBottom
Left = 204
Left = 220
Height = 1
Top = 145
Top = 184
Width = 50
AutoSize = True
BorderSpacing.Left = 6
@ -479,10 +483,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ForegroundColorBox
AnchorSideTop.Side = asrCenter
Left = 374
Left = 398
Height = 15
Top = 7
Width = 82
Top = 10
Width = 85
BorderSpacing.Left = 10
Caption = 'ForeAlphaLabel'
ParentColor = False
@ -492,10 +496,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = BackGroundColorBox
AnchorSideTop.Side = asrCenter
Left = 374
Left = 398
Height = 15
Top = 32
Width = 84
Top = 42
Width = 86
BorderSpacing.Left = 10
Caption = 'BackAlphaLabel'
ParentColor = False
@ -505,10 +509,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = FrameColorBox
AnchorSideTop.Side = asrCenter
Left = 374
Left = 398
Height = 15
Top = 57
Width = 92
Top = 74
Width = 94
BorderSpacing.Left = 10
Caption = 'FrameAlphaLabel'
ParentColor = False
@ -518,9 +522,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ForeAlphaLabel
AnchorSideTop.Side = asrCenter
Left = 462
Height = 23
Top = 3
Left = 489
Height = 25
Top = 5
Width = 55
BorderSpacing.Left = 6
MaxValue = 256
@ -538,9 +542,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = BackAlphaLabel
AnchorSideTop.Side = asrCenter
Left = 464
Height = 23
Top = 28
Left = 490
Height = 25
Top = 37
Width = 55
BorderSpacing.Left = 6
MaxValue = 256
@ -558,9 +562,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = FrameAlphaLabel
AnchorSideTop.Side = asrCenter
Left = 472
Height = 23
Top = 53
Left = 498
Height = 25
Top = 69
Width = 55
BorderSpacing.Left = 6
MaxValue = 256
@ -578,10 +582,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ForegroundColorBox
AnchorSideTop.Side = asrCenter
Left = 527
Left = 554
Height = 15
Top = 7
Width = 76
Top = 10
Width = 81
BorderSpacing.Left = 10
Caption = 'ForePriorLabel'
ParentColor = False
@ -591,10 +595,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = BackGroundColorBox
AnchorSideTop.Side = asrCenter
Left = 529
Left = 555
Height = 15
Top = 32
Width = 78
Top = 42
Width = 82
BorderSpacing.Left = 10
Caption = 'BackPriorLabel'
ParentColor = False
@ -604,10 +608,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = FrameColorBox
AnchorSideTop.Side = asrCenter
Left = 537
Left = 563
Height = 15
Top = 57
Width = 86
Top = 74
Width = 90
BorderSpacing.Left = 10
Caption = 'FramePriorLabel'
ParentColor = False
@ -617,9 +621,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ForePriorLabel
AnchorSideTop.Side = asrCenter
Left = 609
Height = 23
Top = 3
Left = 641
Height = 25
Top = 5
Width = 55
BorderSpacing.Left = 6
MaxValue = 9999
@ -634,9 +638,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = BackPriorLabel
AnchorSideTop.Side = asrCenter
Left = 613
Height = 23
Top = 28
Left = 643
Height = 25
Top = 37
Width = 55
BorderSpacing.Left = 6
MaxValue = 9999
@ -651,9 +655,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = FrameAlphaLabel
AnchorSideTop.Side = asrCenter
Left = 629
Height = 23
Top = 53
Left = 659
Height = 25
Top = 69
Width = 55
BorderSpacing.Left = 6
MaxValue = 9999