This commit is contained in:
@@ -61,6 +61,12 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
void MyFlexGrid_Resize(object sender, EventArgs e)
|
||||
{
|
||||
if (MyItemInfo != null && MyItemInfo.ItemID == 14)
|
||||
{
|
||||
//Console.WriteLine("{0},{1},{2}", MyFlexGrid.Height, MyStepRTB.ContentsRectangle.Height,MyFlexGrid.Rows[0].Height);
|
||||
if (MyFlexGrid.Height < MyStepRTB.ContentsRectangle.Height)
|
||||
MyFlexGrid.Height = 4 + MyStepRTB.ContentsRectangle.Height;
|
||||
}
|
||||
this.Size = new Size(MyFlexGrid.Width + GridMargin, MyFlexGrid.Height + GridMargin);
|
||||
AdjustTableWidthAndLocation();
|
||||
AdjustLocation();
|
||||
|
Reference in New Issue
Block a user