summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graemeg@gmail.com>2010-10-01 19:26:17 +0200
committerGraeme Geldenhuys <graemeg@gmail.com>2010-10-01 19:26:17 +0200
commitad062c7d86aa8df749692ec7ce93748877047ba2 (patch)
tree3221681e6a556a55b2d42bce3710228090652208 /src/gui
parent04b2ad65aeda3ce01ea96180b6e414a095e23c30 (diff)
downloadfpGUI-ad062c7d86aa8df749692ec7ce93748877047ba2.tar.xz
spinedit: arrow painting used wrong button border size
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/fpg_spinedit.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_spinedit.pas b/src/gui/fpg_spinedit.pas
index 52bd7873..9e9c6aae 100644
--- a/src/gui/fpg_spinedit.pas
+++ b/src/gui/fpg_spinedit.pas
@@ -382,7 +382,7 @@ var
begin
r := AButton.GetClientRect;
- InflateRect(r, -1, -1); // button borders
+ InflateRect(r, -2, -2); // button borders
if AButton.Down then
OffsetRect(r, 1, 1);