Skip to content

Commit

Permalink
Fixed spacing issue on TStringGrid
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lbutler committed Mar 4, 2024
1 parent 9e1d0a8 commit 760f3ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion epanet2w/PropEdit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,6 @@ procedure TPropEdit.GridDrawCell(Sender: TObject; vCol,
//-----------------------------------------------------------------------------
begin
if (FProps = nil) then Exit;
Rect.Left := Rect.Left - 4;
with Sender as TStringGrid do
begin
with Canvas do
Expand Down

0 comments on commit 760f3ea

Please sign in to comment.