fix: fixed UniformSpacingPanel measure issue
This commit is contained in:
1 parent
04b01db546
commit
6763d1569a
1 file changed
+2
-2
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using HandyControl.Data;
|
||||
@@ -237,8 +238,6 @@ public class UniformSpacingPanel : Panel
|
||||
panelSize.V += sz.V + spacingSize.V;
|
||||
curLineSize = new PanelUvSize(_orientation);
|
||||
}
|
||||
|
||||
isFirst = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -379,6 +378,7 @@ public class UniformSpacingPanel : Panel
|
||||
ArrangeLine(uvFinalSize.V, useItemU, itemU, spacingSize.U);
|
||||
}
|
||||
|
||||
Trace.WriteLine(finalSize.Width);
|
||||
return finalSize;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user