Skip to content

Commit 760f3ea

Browse files
committed
Fixed spacing issue on TStringGrid
I believe this was originally added to solve the issue listed below but it doesn't appear to be a problem in the latest IDE and was causing visual issues https://stackoverflow.com/questions/65552231/delphi-stringgrid-displayed-with-unwanted-column-spacing
1 parent 9e1d0a8 commit 760f3ea

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: epanet2w/PropEdit.pas

-1
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,6 @@ procedure TPropEdit.GridDrawCell(Sender: TObject; vCol,
858858
//-----------------------------------------------------------------------------
859859
begin
860860
if (FProps = nil) then Exit;
861-
Rect.Left := Rect.Left - 4;
862861
with Sender as TStringGrid do
863862
begin
864863
with Canvas do

0 commit comments

Comments
 (0)