summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui_button.pas2
-rw-r--r--src/gui/gui_grid.pas2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui_button.pas b/src/gui/gui_button.pas
index 62c2e1da..a3886923 100644
--- a/src/gui/gui_button.pas
+++ b/src/gui/gui_button.pas
@@ -209,7 +209,7 @@ begin
begin
Canvas.SetColor(clText1);
Canvas.SetLineStyle(1, lsDot);
- InflateRect(r, -2, -2);
+ InflateRect(r, -3, -3);
Canvas.DrawRectangle(r);
end
else
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;