Aggiornata interfaccia
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
@using EgwCoreLib.Razor
|
||||
<div class="col-lg-12 col-md-12 my-2">
|
||||
<div class="col-lg-12 col-md-12">
|
||||
@if (!SashDimEditList.Contains(IndexSash))
|
||||
{
|
||||
<div class="d-flex justify-content-between align-items-center mb-2">
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<div class="col-md-12 col-lg-6 d-grid px-2 d-md-flex justify-content-md-start flex-wrap">
|
||||
<h6 class="fw-bold text-nowrap">Sash @(CurrSashGroup.SashList.Count == 1 ? "" : (IndexSash + 1))</h6>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<div class="card-body py-2">
|
||||
<div class="row">
|
||||
<div class="col-md-12 col-lg-6">
|
||||
<div class="input-group my-2">
|
||||
<div class="input-group mt-2">
|
||||
@if (User)
|
||||
{
|
||||
<span class="input-group-text">Shape</span>
|
||||
|
||||
@@ -168,7 +168,7 @@
|
||||
</div>
|
||||
@for (int i = 0; i < CurrSashGroup.SashList.Count; i++)
|
||||
{
|
||||
<div class="row mt-2">
|
||||
<div class="@AreaSashCss(i)">
|
||||
<AreaSash CurrSashDim="CurrSashGroup.SashList[i]"
|
||||
IndexSash="i"
|
||||
SashDimEditList="currSashDimEdit"
|
||||
|
||||
@@ -428,6 +428,14 @@ namespace WebWindowComplex.Compo
|
||||
//{
|
||||
// isOpen = !isOpen;
|
||||
//}
|
||||
|
||||
private string AreaSashCss(int i)
|
||||
{
|
||||
if (i == 0)
|
||||
return "row mt-4";
|
||||
else
|
||||
return "row mt-2";
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
|
||||
@@ -157,17 +157,17 @@ namespace WebWindowComplex.Models
|
||||
newSplittedList.Add(Splitted.CreateSplitted(SplitArea));
|
||||
// Inserisco nelle aree Splitted Fill e la struttura precedente (e setto ParentArea del fill)
|
||||
ContentArea[0].SetParentArea(newSplittedList[1]);
|
||||
newSplittedList[1].AreaList.Add(ContentArea[0]);
|
||||
newSplittedList[0].AreaList.Add(ContentArea[0]);
|
||||
if (ContentArea[0] is Fill)
|
||||
{
|
||||
Fill fill1 = (Fill)ContentArea[0];
|
||||
Fill fill2 = Fill.CreateFill(newSplittedList[0], fill1.FillType);
|
||||
newSplittedList[0].AreaList.Add(fill2);
|
||||
newSplittedList[1].AreaList.Add(fill2);
|
||||
}
|
||||
else
|
||||
{
|
||||
Fill fill2 = Fill.CreateFill(newSplittedList[0], FillTypes.GLASS);
|
||||
newSplittedList[0].AreaList.Add(fill2);
|
||||
newSplittedList[1].AreaList.Add(fill2);
|
||||
}
|
||||
// All'area Split aggiunto le due aree Splitted
|
||||
for (int i = 0; i < 2; i++)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>3.1.2.1816</Version>
|
||||
<Version>3.1.2.1818</Version>
|
||||
<Authors>Annamaria Sassi</Authors>
|
||||
<Company>Egalware</Company>
|
||||
<Description>Componente gestione Configurazioni avanzate Window per LUX</Description>
|
||||
@@ -189,6 +189,22 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user