View Issue Details

IDProjectCategoryView StatusLast Update
0002132JEDI VCL00 JVCL Componentspublic2004-09-09 01:23
Reporterralf.kaiserAssigned Touser72 
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0002132: Bug in TJvImageComboBox.DrawItem: Width used to calculate drawing offset instead of Height
DescriptionLine number apply to unit JvListComb.pas

In TJvImageComboBox.DrawItem the vertical offset to draw the image is calculated using this line (line 797):

Offset := ((R.Bottom - R.Top) - GetImageHeight(Index)) div 2;

GetImageHeight is wrong, must be GetImageWidth!

Line 816 has to be changed too (change GetImageHeight to GetImageWidth)



TagsNo tags attached.

Activities

user72

2004-09-09 01:23

  ~0005203

You mixed up GetImageHeight and GetImageWidth: GetImageWidth must be replaced with GetImageHeight

Fixed in CVS

Issue History

Date Modified Username Field Change
2004-09-09 01:02 ralf.kaiser New Issue
2004-09-09 01:23 user72 Status new => assigned
2004-09-09 01:23 user72 Assigned To => user72
2004-09-09 01:23 user72 Status assigned => resolved
2004-09-09 01:23 user72 Fixed in Version => 3.00 BETA
2004-09-09 01:23 user72 Resolution open => fixed
2004-09-09 01:23 user72 Note Added: 0005203