summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Laurence Emerson <dle3ab@angelbase.com>2013-04-17 22:45:01 -0700
committerDavid Laurence Emerson <dle3ab@angelbase.com>2013-04-18 21:19:46 -0700
commitc0bbd17213034ceda7f078ac1d2adb0d5561a7d7 (patch)
tree701e1cdf919e431e39d9e05d8ec809be6d569c0c
parent701873c5a99b5e4c24290efc7f07bfeda5d87cd9 (diff)
downloadfpGUI-c0bbd17213034ceda7f078ac1d2adb0d5561a7d7.tar.xz
Grids: basegrid updateScrollbars almost done
-rw-r--r--src/gui/fpg_basegrid.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_basegrid.pas b/src/gui/fpg_basegrid.pas
index d7d6a6c6..42e92053 100644
--- a/src/gui/fpg_basegrid.pas
+++ b/src/gui/fpg_basegrid.pas
@@ -730,7 +730,7 @@ begin
begin
FHScrollBar.Max := cw - vw;
FHScrollBar.Position := FXOffset;
- FHScrollBar.SliderSize := Width / TotalColumnWidth;
+ FHScrollBar.SliderSize := HWidth / TotalColumnWidth;
end
else
begin