blikblum / VirtualTreeView-Lazarus

Virtual Treeview is a treeview control
50 stars 15 forks source link

bag: drawing columns #15

Open slvr9 opened 5 years ago

slvr9 commented 5 years ago

What is the VirtualTreeView version / branch?

5.5.3.1

What is the Lazarus and Freepascal version?

Lazarus 2.0.4 r61665 FPC 3.0.4 i386-win32-win32/win64

Bug?

When using the function procedure PaintTree(aTargetCanvas: TCanvas; const aWindow: TRect; aTarget: TPoint; aPaintOptions: TVTInternalPaintOptions; aPixelFormat: TPixelFormat = pfDevice); with parameters aPaintOptions=[..poUnbuffered..] and aTarget.x<>0 column locations are calculated incorrectly.

I think the error is located somewhere starting from line 30508, where the right and left borders of the column are calculated.

TommySlokky commented 4 years ago

I can confirm there is a problem with column borders not being drawn