This commit is contained in:
NaBian committed 2026-05-28 21:39:06 +08:00
1 parent 2ea451fe82
commit 7a9310c1f1
4 files changed
+31 -18

No files matched your search

@@ -138,7 +138,7 @@ public class UniformSpacingPanel : Panel
for (var i = start; i < end; i++)
{
var child = children[i];
if (child == null) continue;
if (child == null || child.Visibility == Visibility.Collapsed) continue;
var childSize = new PanelUvSize(_orientation, child.DesiredSize);
var layoutSlotU = useItemU ? itemU : childSize.U;
@@ -161,7 +161,7 @@ public class UniformSpacingPanel : Panel
for (var i = 0; i < children.Count; i++)
{
var child = children[i];
if (child == null) continue;
if (child == null || child.Visibility == Visibility.Collapsed) continue;
var childSize = new PanelUvSize(_orientation, child.DesiredSize);
var layoutSlotU = useItemU ? itemU : childSize.U;
@@ -214,7 +214,7 @@ public class UniformSpacingPanel : Panel
for (int i = 0, count = children.Count; i < count; ++i)
{
var child = children[i];
if (child == null) continue;
if (child == null || child.Visibility == Visibility.Collapsed) continue;
if (itemHorizontalAlignmentSet)
{
@@ -244,7 +244,7 @@ public class UniformSpacingPanel : Panel
for (int i = 0, count = children.Count; i < count; i++)
{
var child = children[i];
if (child == null) continue;
if (child == null || child.Visibility == Visibility.Collapsed) continue;
if (itemHorizontalAlignmentSet)
{
@@ -336,7 +336,7 @@ public class UniformSpacingPanel : Panel
for (int i = 0, count = children.Count; i < count; i++)
{
var child = children[i];
if (child == null) continue;
if (child == null || child.Visibility == Visibility.Collapsed) continue;
var sz = new PanelUvSize(
_orientation,