diff --git a/WebWindowComplex/Models/Split.cs b/WebWindowComplex/Models/Split.cs
index 2d0e03f..8b5aa61 100644
--- a/WebWindowComplex/Models/Split.cs
+++ b/WebWindowComplex/Models/Split.cs
@@ -99,7 +99,16 @@ namespace WebWindowComplex.Models
ParentArea.AreaList.Add(newFill);
}
else
+ {
+ ElemDimHorizList.RemoveAt(0);
SetSplitShape(SplitShapes.VERTICAL);
+ SetSplitStartVert(true);
+ // Controllo quanti split orizzontali ci sono
+ int nVert = m_SplitVertList.Count > 0 ? m_SplitVertList.Count : 1;
+ // Cancello aree di troppo
+ for (var SplitIndex = nVert; SplitIndex <= AreaList.Count; SplitIndex++)
+ AreaList.RemoveAt(AreaList.Count - 1);
+ }
}
else
{
@@ -262,7 +271,16 @@ namespace WebWindowComplex.Models
ParentArea.AreaList.Add(newFill);
}
else
+ {
+ ElemDimVertList.RemoveAt(0);
SetSplitShape(SplitShapes.HORIZONTAL);
+ SetSplitStartVert(false);
+ // Controllo quanti split orizzontali ci sono
+ int nHoriz = m_SplitHorizList.Count > 0 ? m_SplitHorizList.Count : 1;
+ // Cancello aree di troppo
+ for (var SplitIndex = nHoriz; SplitIndex <= AreaList.Count; SplitIndex++)
+ AreaList.RemoveAt(AreaList.Count-1);
+ }
}
else
{
diff --git a/WebWindowComplex/TableComp.razor.cs b/WebWindowComplex/TableComp.razor.cs
index 01d5263..6a9f609 100644
--- a/WebWindowComplex/TableComp.razor.cs
+++ b/WebWindowComplex/TableComp.razor.cs
@@ -901,6 +901,7 @@ namespace WebWindowComplex
else if (RowCollapsed.ContainsKey(item.Row))
{
RowCollapsed.Remove(item.Row);
+ Child.Remove(item.Row);
}
}
}
diff --git a/WebWindowComplex/WebWindowComplex.csproj b/WebWindowComplex/WebWindowComplex.csproj
index d3f70a6..18aec2e 100644
--- a/WebWindowComplex/WebWindowComplex.csproj
+++ b/WebWindowComplex/WebWindowComplex.csproj
@@ -6,7 +6,7 @@
net8.0
enable
enable
- 3.1.3.915
+ 3.1.3.917
Annamaria Sassi
Egalware
Componente gestione Configurazioni avanzate Window per LUX
@@ -318,6 +318,8 @@
+
+
diff --git a/WebWindowConfigurator/WebWindowConfigurator.csproj b/WebWindowConfigurator/WebWindowConfigurator.csproj
index 2234894..c1cb9ca 100644
--- a/WebWindowConfigurator/WebWindowConfigurator.csproj
+++ b/WebWindowConfigurator/WebWindowConfigurator.csproj
@@ -6,7 +6,7 @@
net8.0
enable
enable
- 3.1.3.915
+ 3.1.3.918
Annamaria Sassi
Egalware
Componente gestione JWD per LUX
@@ -347,6 +347,8 @@
+
+