IDE, options: Improve/Correct sizing of spin edits for gtk in color palette (e.g. in used defined markup). Issue #0033435

git-svn-id: trunk@58222 -
This commit is contained in:
martin 2018-06-10 23:25:24 +00:00
parent 39d1a5d7b4
commit 07a0cfa736

View File

@ -15,8 +15,8 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrCenter
Left = 6
Height = 15
Top = 10
Width = 95
Top = 7
Width = 91
BorderSpacing.Left = 6
Caption = 'ForeGroundLabel'
ParentColor = False
@ -28,8 +28,8 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrCenter
Left = 6
Height = 15
Top = 42
Width = 96
Top = 32
Width = 93
BorderSpacing.Left = 6
Caption = 'BackGroundLabel'
ParentColor = False
@ -41,9 +41,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = ForegroundColorBox
AnchorSideTop.Side = asrCenter
Left = 6
Height = 24
Height = 19
Top = 5
Width = 208
Width = 192
BorderSpacing.Left = 6
Caption = 'ForeGroundUseDefaultCheckBox'
OnChange = GeneralCheckBoxOnChange
@ -54,10 +54,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = ColumnPosBevel
AnchorSideTop.Control = Owner
AnchorSideRight.Side = asrBottom
Left = 220
Height = 29
Left = 204
Height = 22
Top = 3
Width = 168
Width = 184
DefaultColorColor = clWhite
Style = [cbStandardColors, cbExtendedColors, cbSystemColors, cbIncludeDefault, cbCustomColor, cbPrettyNames, cbCustomColors]
OnGetColors = ForegroundColorBoxGetColors
@ -74,10 +74,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = ForegroundColorBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 220
Height = 29
Top = 35
Width = 168
Left = 204
Height = 22
Top = 28
Width = 184
DefaultColorColor = clWhite
Style = [cbStandardColors, cbExtendedColors, cbSystemColors, cbIncludeDefault, cbCustomColor, cbPrettyNames, cbCustomColors]
OnGetColors = ForegroundColorBoxGetColors
@ -95,9 +95,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrBottom
Left = 6
Height = 24
Top = 37
Width = 209
Height = 19
Top = 30
Width = 194
BorderSpacing.Left = 6
Caption = 'BackGroundUseDefaultCheckBox'
OnChange = GeneralCheckBoxOnChange
@ -109,10 +109,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = BackGroundColorBox
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 220
Height = 29
Top = 67
Width = 168
Left = 204
Height = 22
Top = 53
Width = 184
DefaultColorColor = clWhite
Style = [cbStandardColors, cbExtendedColors, cbSystemColors, cbIncludeDefault, cbCustomColor, cbPrettyNames, cbCustomColors]
OnGetColors = ForegroundColorBoxGetColors
@ -130,9 +130,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrBottom
Left = 6
Height = 24
Top = 69
Width = 205
Height = 19
Top = 55
Width = 191
BorderSpacing.Left = 6
Caption = 'FrameColorUseDefaultCheckBox'
OnChange = GeneralCheckBoxOnChange
@ -144,16 +144,16 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = FrameEdgesBox
AnchorSideTop.Side = asrBottom
Left = 6
Height = 50
Top = 131
Width = 158
Height = 40
Top = 102
Width = 145
AutoSize = True
BorderSpacing.Left = 6
BorderSpacing.Top = 3
BorderSpacing.Bottom = 3
BevelOuter = bvNone
ClientHeight = 50
ClientWidth = 158
ClientHeight = 40
ClientWidth = 145
TabOrder = 11
object TextUnderlineRadioPanel: TPanel
AnchorSideLeft.Control = TextUnderlineCheckBox
@ -161,14 +161,14 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 0
Height = 26
Top = 24
Width = 156
Height = 21
Top = 19
Width = 134
AutoSize = True
BevelInner = bvLowered
BevelOuter = bvNone
ClientHeight = 26
ClientWidth = 156
ClientHeight = 21
ClientWidth = 134
TabOrder = 0
object TextUnderlineRadioOn: TRadioButton
Tag = 3
@ -176,9 +176,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextUnderlineRadioPanel
AnchorSideRight.Control = TextUnderlineRadioOff
Left = 4
Height = 24
Height = 19
Top = 1
Width = 42
Width = 36
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'On'
@ -193,10 +193,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = TextUnderlineRadioOn
AnchorSideRight.Control = TextUnderlineRadioInvert
Left = 49
Height = 24
Left = 43
Height = 19
Top = 1
Width = 44
Width = 37
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'Off'
@ -210,10 +210,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextUnderlineRadioPanel
AnchorSideRight.Control = TextUnderlineRadioPanel
AnchorSideRight.Side = asrBottom
Left = 96
Height = 24
Left = 83
Height = 19
Top = 1
Width = 59
Width = 50
BorderSpacing.Left = 3
Caption = 'Invert'
OnChange = TextStyleRadioOnChange
@ -224,9 +224,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = pnlUnderline
AnchorSideTop.Control = pnlUnderline
Left = 0
Height = 24
Height = 19
Top = 0
Width = 158
Width = 145
Caption = 'TextUnderlineCheckBox'
OnChange = GeneralCheckBoxOnChange
TabOrder = 1
@ -236,15 +236,15 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = pnlUnderline
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = pnlUnderline
Left = 170
Height = 50
Top = 131
Width = 156
Left = 157
Height = 40
Top = 102
Width = 134
AutoSize = True
BorderSpacing.Left = 6
BevelOuter = bvNone
ClientHeight = 50
ClientWidth = 156
ClientHeight = 40
ClientWidth = 134
TabOrder = 12
object TextBoldRadioPanel: TPanel
AnchorSideLeft.Control = TextBoldCheckBox
@ -252,14 +252,14 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 0
Height = 26
Top = 24
Width = 156
Height = 21
Top = 19
Width = 134
AutoSize = True
BevelInner = bvLowered
BevelOuter = bvNone
ClientHeight = 26
ClientWidth = 156
ClientHeight = 21
ClientWidth = 134
TabOrder = 0
object TextBoldRadioInvert: TRadioButton
Tag = 2
@ -268,10 +268,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextBoldRadioPanel
AnchorSideRight.Control = TextBoldRadioPanel
AnchorSideRight.Side = asrBottom
Left = 96
Height = 24
Left = 83
Height = 19
Top = 1
Width = 59
Width = 50
BorderSpacing.Left = 3
Caption = 'Invert'
OnChange = TextStyleRadioOnChange
@ -283,9 +283,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextBoldRadioPanel
AnchorSideRight.Control = TextBoldRadioOff
Left = 4
Height = 24
Height = 19
Top = 1
Width = 42
Width = 36
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'On'
@ -300,10 +300,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = TextBoldRadioPanel
AnchorSideRight.Control = TextBoldRadioInvert
Left = 49
Height = 24
Left = 43
Height = 19
Top = 1
Width = 44
Width = 37
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'Off'
@ -315,9 +315,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = pnlBold
AnchorSideTop.Control = pnlBold
Left = 0
Height = 24
Height = 19
Top = 0
Width = 129
Width = 118
Caption = 'TextBoldCheckBox'
OnChange = GeneralCheckBoxOnChange
TabOrder = 1
@ -327,15 +327,15 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = pnlBold
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = pnlUnderline
Left = 332
Height = 50
Top = 131
Width = 156
Left = 297
Height = 40
Top = 102
Width = 134
AutoSize = True
BorderSpacing.Left = 6
BevelOuter = bvNone
ClientHeight = 50
ClientWidth = 156
ClientHeight = 40
ClientWidth = 134
TabOrder = 13
object TextItalicRadioPanel: TPanel
AnchorSideLeft.Control = TextItalicCheckBox
@ -343,14 +343,14 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrBottom
AnchorSideRight.Side = asrBottom
Left = 0
Height = 26
Top = 24
Width = 156
Height = 21
Top = 19
Width = 134
AutoSize = True
BevelInner = bvLowered
BevelOuter = bvNone
ClientHeight = 26
ClientWidth = 156
ClientHeight = 21
ClientWidth = 134
TabOrder = 0
object TextItalicRadioInvert: TRadioButton
Tag = 2
@ -359,10 +359,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextItalicRadioPanel
AnchorSideRight.Control = TextItalicRadioPanel
AnchorSideRight.Side = asrBottom
Left = 96
Height = 24
Left = 83
Height = 19
Top = 1
Width = 59
Width = 50
BorderSpacing.Left = 3
Caption = 'Invert'
OnChange = TextStyleRadioOnChange
@ -374,9 +374,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = TextItalicRadioPanel
AnchorSideRight.Control = TextItalicRadioOff
Left = 4
Height = 24
Height = 19
Top = 1
Width = 42
Width = 36
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'On'
@ -391,10 +391,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = TextItalicRadioPanel
AnchorSideRight.Control = TextItalicRadioInvert
Left = 49
Height = 24
Left = 43
Height = 19
Top = 1
Width = 44
Width = 37
BorderSpacing.Left = 3
BorderSpacing.Right = 3
Caption = 'Off'
@ -406,9 +406,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = pnlItalic
AnchorSideTop.Control = pnlItalic
Left = 0
Height = 24
Height = 19
Top = 0
Width = 130
Width = 119
Caption = 'TextItalicCheckBox'
OnChange = GeneralCheckBoxOnChange
TabOrder = 1
@ -418,9 +418,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = FrameEdgesBox
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = FrameEdgesBox
Left = 323
Height = 29
Top = 99
Left = 307
Height = 21
Top = 78
Width = 97
BorderSpacing.Left = 6
ItemHeight = 15
@ -433,7 +433,6 @@ object SynColorAttrEditor: TSynColorAttrEditor
)
OnChange = ForegroundColorBoxChange
OnDrawItem = FrameStyleBoxDrawItem
ReadOnly = True
Style = csOwnerDrawFixed
TabOrder = 10
Text = 'slsSolid'
@ -442,9 +441,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Control = FrameColorBox
AnchorSideTop.Control = FrameColorBox
AnchorSideTop.Side = asrBottom
Left = 220
Height = 29
Top = 99
Left = 204
Height = 21
Top = 78
Width = 97
BorderSpacing.Top = 3
ItemHeight = 15
@ -456,7 +455,6 @@ object SynColorAttrEditor: TSynColorAttrEditor
)
OnChange = ForegroundColorBoxChange
OnDrawItem = FrameEdgesBoxDrawItem
ReadOnly = True
Style = csOwnerDrawFixed
TabOrder = 9
Text = 'Around'
@ -467,9 +465,9 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Control = pnlUnderline
AnchorSideTop.Side = asrBottom
AnchorSideBottom.Side = asrBottom
Left = 220
Left = 204
Height = 1
Top = 184
Top = 145
Width = 50
AutoSize = True
BorderSpacing.Left = 6
@ -485,8 +483,8 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrCenter
Left = 398
Height = 15
Top = 10
Width = 85
Top = 7
Width = 82
BorderSpacing.Left = 10
Caption = 'ForeAlphaLabel'
ParentColor = False
@ -498,8 +496,8 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrCenter
Left = 398
Height = 15
Top = 42
Width = 86
Top = 32
Width = 84
BorderSpacing.Left = 10
Caption = 'BackAlphaLabel'
ParentColor = False
@ -511,8 +509,8 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideTop.Side = asrCenter
Left = 398
Height = 15
Top = 74
Width = 94
Top = 57
Width = 92
BorderSpacing.Left = 10
Caption = 'FrameAlphaLabel'
ParentColor = False
@ -522,10 +520,11 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ForeAlphaLabel
AnchorSideTop.Side = asrCenter
Left = 489
Height = 25
Top = 5
Width = 55
Left = 486
Height = 23
Top = 3
Width = 65
AutoSize = False
BorderSpacing.Left = 6
MaxValue = 256
MinValue = 1
@ -542,10 +541,11 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = BackAlphaLabel
AnchorSideTop.Side = asrCenter
Left = 490
Height = 25
Top = 37
Width = 55
Left = 488
Height = 23
Top = 28
Width = 65
AutoSize = False
BorderSpacing.Left = 6
MaxValue = 256
MinValue = 1
@ -562,10 +562,11 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = FrameAlphaLabel
AnchorSideTop.Side = asrCenter
Left = 498
Height = 25
Top = 69
Width = 55
Left = 496
Height = 23
Top = 53
Width = 65
AutoSize = False
BorderSpacing.Left = 6
MaxValue = 256
MinValue = 1
@ -582,10 +583,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ForegroundColorBox
AnchorSideTop.Side = asrCenter
Left = 554
Left = 561
Height = 15
Top = 10
Width = 81
Top = 7
Width = 76
BorderSpacing.Left = 10
Caption = 'ForePriorLabel'
ParentColor = False
@ -595,10 +596,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = BackGroundColorBox
AnchorSideTop.Side = asrCenter
Left = 555
Left = 563
Height = 15
Top = 42
Width = 82
Top = 32
Width = 78
BorderSpacing.Left = 10
Caption = 'BackPriorLabel'
ParentColor = False
@ -608,10 +609,10 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = FrameColorBox
AnchorSideTop.Side = asrCenter
Left = 563
Left = 571
Height = 15
Top = 74
Width = 90
Top = 57
Width = 86
BorderSpacing.Left = 10
Caption = 'FramePriorLabel'
ParentColor = False
@ -621,10 +622,11 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = ForePriorLabel
AnchorSideTop.Side = asrCenter
Left = 641
Height = 25
Top = 5
Width = 55
Left = 643
Height = 23
Top = 3
Width = 65
AutoSize = False
BorderSpacing.Left = 6
MaxValue = 9999
OnChange = ForePriorSpinChange
@ -638,10 +640,11 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = BackPriorLabel
AnchorSideTop.Side = asrCenter
Left = 643
Height = 25
Top = 37
Width = 55
Left = 647
Height = 23
Top = 28
Width = 65
AutoSize = False
BorderSpacing.Left = 6
MaxValue = 9999
OnChange = ForePriorSpinChange
@ -655,10 +658,11 @@ object SynColorAttrEditor: TSynColorAttrEditor
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = FrameAlphaLabel
AnchorSideTop.Side = asrCenter
Left = 659
Height = 25
Top = 69
Width = 55
Left = 663
Height = 23
Top = 53
Width = 65
AutoSize = False
BorderSpacing.Left = 6
MaxValue = 9999
OnChange = ForePriorSpinChange