GridCtrl: Fixed overlapping new and summary row when there is no more vertical space

git-svn-id: svn://ultimatepp.org/upp/trunk@6040 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
unodgs 2013-05-08 17:43:59 +00:00
commit ef1002182a

View file

@ -6299,7 +6299,7 @@ void GridCtrl::GoCursorLeftRight()
{
int t = vitems[curpos.y].nTop(sby + fixed_height);
int b = vitems[curpos.y].nBottom(sby);
int h = GetSize().cy;
int h = GetSize().cy - summary_height;
if(t < 0)
sby.Set(sby + t);