Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002320 [JEDI VCL] 00 JVCL Components tweak always 2004-11-17 06:22 2004-11-22 11:34
Reporter anonymous View Status public  
Assigned To user72
Priority normal Resolution fixed  
Status resolved   Product Version 3.00 BETA 2
Summary 0002320: Bad practice to hard code image size in TJvXPBar
Description To 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 Information Consider similar adaptability of ImageList.Height for "JvXPBar.ItemHeight" property:

procedure TJvXPBarItem.SetImageList
..snip..
    FImageList := Value;
    ItemHeight := FImageList.Height + 4;
..snip..
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0005687)
user72
2004-11-22 11:34

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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker