From b43071ceec977875a1fd8cf455effa13127ba04c Mon Sep 17 00:00:00 2001 From: Annamaria Sassi Date: Fri, 5 Dec 2025 15:36:35 +0100 Subject: [PATCH] - Aggiornato svuotamento dizionario shape e opzioni hw - Aggiornato calcolo altezza split --- Test.UI/Components/Pages/EditJWD.razor.cs | 9 +- WebWindowComplex/Compo/AreaSash.razor | 8 +- WebWindowComplex/Compo/CardFrame.razor.cs | 4 +- WebWindowComplex/Compo/CardSashGroup.razor | 4 +- WebWindowComplex/Compo/CardSashGroup.razor.cs | 15 +- WebWindowComplex/Compo/CardSplit.razor | 4 +- WebWindowComplex/Compo/CardSplit.razor.cs | 30 +- WebWindowComplex/LayoutConst.cs | 17 ++ WebWindowComplex/Models/Frame.cs | 2 +- WebWindowComplex/Models/Split.cs | 286 +++++++++--------- WebWindowComplex/Models/SplitDimension.cs | 48 +-- WebWindowComplex/TableComp.razor | 3 +- WebWindowComplex/TableComp.razor.cs | 30 +- WebWindowComplex/WebWindowComplex.csproj | 7 +- .../WebWindowConfigurator.csproj | 46 ++- 15 files changed, 283 insertions(+), 230 deletions(-) diff --git a/Test.UI/Components/Pages/EditJWD.razor.cs b/Test.UI/Components/Pages/EditJWD.razor.cs index 9995aad..bb5d928 100644 --- a/Test.UI/Components/Pages/EditJWD.razor.cs +++ b/Test.UI/Components/Pages/EditJWD.razor.cs @@ -9,6 +9,7 @@ using System.Diagnostics; using System.Security.AccessControl; using WebWindowComplex; using WebWindowComplex.DTO; +using static WebWindowComplex.LayoutConst; namespace Test.UI.Components.Pages { @@ -229,18 +230,18 @@ namespace Test.UI.Components.Pages /// Esecuzione azione richiesta /// /// Azione richiesta - private void DoAction(TableComp.DataAction actReq) + private void DoAction(DataAction actReq) { switch (actReq) { - case TableComp.DataAction.None: + case DataAction.None: break; - case TableComp.DataAction.ResetDictShape: + case DataAction.ResetDictShape: CurrData.DictShape = new Dictionary(); break; - case TableComp.DataAction.ResetHwOpt: + case DataAction.ResetHwOpt: CurrData.DictOptionsXml = new Dictionary(); break; diff --git a/WebWindowComplex/Compo/AreaSash.razor b/WebWindowComplex/Compo/AreaSash.razor index 5474ae7..47d99f5 100644 --- a/WebWindowComplex/Compo/AreaSash.razor +++ b/WebWindowComplex/Compo/AreaSash.razor @@ -1,7 +1,7 @@ @using EgwCoreLib.Razor @if(mode == ModeView.View) { -
+
Sash @(CurrSashGroup.SashList.Count == 1 ? "" : (IndexSash + 1))
@if(CurrSashGroup.SashList.Count > 1) @@ -27,7 +27,7 @@
} - +
@@ -95,7 +95,7 @@ else
-
+