This commit is contained in:
1 parent
729c39a503
commit
7704e926df
6 files changed
+493
-95
No files matched your search
@@ -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