This commit is contained in:
2011-03-31 18:36:56 +00:00
parent 98ba49a249
commit cae4e76643
4 changed files with 35 additions and 13 deletions

View File

@@ -615,7 +615,9 @@ namespace Volian.Controls.Library
// Console.WriteLine("r {0}, nh {1}, curh{2}", Row, nH, curHeight);
if (Hadj != 0)
{
Rows[Row].Height += Hadj;//= curHeight;
int newHeight = Hadj + ((Rows[Row].Height < 0) ? Rows.DefaultSize : Rows[Row].Height);
//Rows[Row].Height += Hadj;//= curHeight;
Rows[Row].Height = newHeight;
AdjustGridControlSize();
}
}