Modifica per passare da split a griglia a orizzontale o verticale
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -901,6 +901,7 @@ namespace WebWindowComplex
|
||||
else if (RowCollapsed.ContainsKey(item.Row))
|
||||
{
|
||||
RowCollapsed.Remove(item.Row);
|
||||
Child.Remove(item.Row);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>3.1.3.915</Version>
|
||||
<Version>3.1.3.917</Version>
|
||||
<Authors>Annamaria Sassi</Authors>
|
||||
<Company>Egalware</Company>
|
||||
<Description>Componente gestione Configurazioni avanzate Window per LUX</Description>
|
||||
@@ -318,6 +318,8 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user