View Issue Details

IDProjectCategoryView StatusLast Update
0004597JEDI VCL00 JVCL Componentspublic2008-12-22 05:19
ReporterBrianAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionwon't fix 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0004597: TJvGradientHeaderPanel: setting LabelColor creates a rectangular frame of that color
DescriptionWhen you set labelcolor it will create a horizontal frame filled with that color over the gradient panel.

Copy/paste on a form:

object JvGradientHeaderPanel1: TJvGradientHeaderPanel
  Left = 152
  Top = 40
  Width = 285
  Height = 25
  GradientStartColor = clWhite
  GradientEndColor = 10932991
  GradientStyle = grVertical
  LabelLeft = 3
  LabelTop = 1
  LabelCaption = 'test'
  LabelColor = clRed
  LabelFont.Charset = DEFAULT_CHARSET
  LabelFont.Color = clWhite
  LabelFont.Height = -11
  LabelFont.Name = 'Tahoma'
  LabelFont.Style = []
  LabelAlignment = taLeftJustify
  TabOrder = 1
end
TagsNo tags attached.

Activities

2008-11-20 22:45

 

jvgradiendheaderpanel.zip (4,395 bytes)

Brian

2008-11-20 22:45

reporter   ~0015042

added project

obones

2008-12-22 05:19

administrator   ~0015147

Well, this is "as designed".
The comment in the source says it all:

LabelColor sets the background Color of the label (used for text in the control).
To get a transparent text background, set LabelColor to clNone

Issue History

Date Modified Username Field Change
2008-11-19 19:08 Brian New Issue
2008-11-20 22:45 Brian File Added: jvgradiendheaderpanel.zip
2008-11-20 22:45 Brian Note Added: 0015042
2008-12-22 05:19 obones Note Added: 0015147
2008-12-22 05:19 obones Status new => resolved
2008-12-22 05:19 obones Resolution open => won't fix
2008-12-22 05:19 obones Assigned To => obones