diff options
Diffstat (limited to 'src/gui/gui_grid.pas')
-rw-r--r-- | src/gui/gui_grid.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui_grid.pas b/src/gui/gui_grid.pas index d88003f2..bac05775 100644 --- a/src/gui/gui_grid.pas +++ b/src/gui/gui_grid.pas @@ -169,7 +169,7 @@ begin Canvas.SetTextColor(clText1); s := 'Head ' + IntToStr(ACol); - fpgStyle.DrawString(Canvas, (ARect.Width div 2) - (FHeaderFont.TextWidth(s) div 2), + fpgStyle.DrawString(Canvas, (ARect.Left + (ARect.Width div 2)) - (FHeaderFont.TextWidth(s) div 2), ARect.Top+1, s, Enabled); end; |