This is expected behaviour in Delphi whenDefaultDrawing = trueand themes are enabled.We can solve this issue in two ways, 1) Since we are drawing the grid cell ourself , so we need to turn off the grid property DefaultDrawing, set it to false. 2) A workaround is to check for this condition and decrementRect.Leftby 4 pixel before callingFillRect
FillRect doesn't paint the complete TStringGrid cell in Delphi
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment