View Issue Details

IDProjectCategoryView StatusLast Update
0002320JEDI VCL00 JVCL Componentspublic2004-11-22 11:34
ReporteranonymousAssigned Touser72 
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.00 BETA 2 
Target VersionFixed in Version3.00 RC 1 
Summary0002320: Bad practice to hard code image size in TJvXPBar
DescriptionTo account for the fact the ImageList can have images other than 16 pixels wide, in procedure TJvXPBarItem.DrawItem change :

    //Inc(Rect.Left, 20);
    Inc(Rect.Left, ImageList.Width + 4);

Additional InformationConsider similar adaptability of ImageList.Height for "JvXPBar.ItemHeight" property:

procedure TJvXPBarItem.SetImageList
..snip..
    FImageList := Value;
    ItemHeight := FImageList.Height + 4;
..snip..
TagsNo tags attached.

Activities

user72

2004-11-22 11:34

  ~0005687

Fixed in CVS

Issue History

Date Modified Username Field Change
2004-11-17 06:22 anonymous New Issue
2004-11-22 11:34 user72 Status new => resolved
2004-11-22 11:34 user72 Resolution open => fixed
2004-11-22 11:34 user72 Assigned To => user72
2004-11-22 11:34 user72 Note Added: 0005687