- Gestita dimensione standard e solo luce per i cambi di tipologie di misure per sash e split
- Aggiornato metodo per cambiare numero di split - Aggiornato metodo che calcola larghezza sashGroup e splitGroup
This commit is contained in:
@@ -638,6 +638,7 @@ namespace WebWindowComplex
|
||||
{
|
||||
firstDisplay = false;
|
||||
// preview SVG senza HW
|
||||
await UpdateElement(FrameWindow);
|
||||
await DoPreviewSvg(true, true);
|
||||
}
|
||||
List<int> reqList = SashList.Select(x => x.GroupId).ToList();
|
||||
@@ -1262,12 +1263,7 @@ namespace WebWindowComplex
|
||||
SpElemList.ElementAt(i).SetMinDimension(Window.m_ParameterList.GetValueOrDefault(SpElemList.ElementAt(i).sName + "_DimMin"));
|
||||
SpElemList.ElementAt(i).SetMaxDimension(Window.m_ParameterList.GetValueOrDefault(SpElemList.ElementAt(i).sName + "_DimMax"));
|
||||
string overlapName = string.Join("_", SpElemList.ElementAt(i).sName.Split('_').Skip(1));
|
||||
SpElemList.ElementAt(i).SetOverlapElement(Window.m_ParameterList.GetValueOrDefault(SpElemList.ElementAt(i).sName + "_Overlap"));
|
||||
//// Se la lista in precedenza era vuota, metto i valori di default
|
||||
//if (prevLiveData.ProfElementList == null || prevLiveData.ProfElementList.Count == 0)
|
||||
//{
|
||||
// SpElemList.ElementAt(i).SetDimension(Window.m_ParameterList.GetValueOrDefault(SpElemList.ElementAt(i).sName + "_DimStd"));
|
||||
//}
|
||||
SpElemList.ElementAt(i).SetOverlapElement(Window.m_ParameterList.GetValueOrDefault(overlapName + "_Overlap"));
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -1278,11 +1274,6 @@ namespace WebWindowComplex
|
||||
item.SetMaxDimension(Window.m_ParameterList.GetValueOrDefault(item.sName + "_DimMax"));
|
||||
string overlapName = string.Join("_", item.sName.Split('_').Skip(1));
|
||||
item.SetOverlapElement(Window.m_ParameterList.GetValueOrDefault(overlapName + "_Overlap"));
|
||||
// Se la lista in precedenza era vuota, metto i valori di default
|
||||
//if (prevLiveData.ProfElementList == null || prevLiveData.ProfElementList.Count == 0)
|
||||
//{
|
||||
// item.SetDimension(Window.m_ParameterList.GetValueOrDefault(item.sName + "_DimStd"));
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1398,6 +1389,8 @@ namespace WebWindowComplex
|
||||
{
|
||||
Frame newFrame = args.currFrame;
|
||||
bool forceSvgNoHw = args.svgNoHw;
|
||||
if (args.groupIdDelete != -1)
|
||||
RowCollapsed.Remove(args.groupIdDelete);
|
||||
if (newFrame != null)
|
||||
{
|
||||
// cerco il record
|
||||
@@ -1610,6 +1603,7 @@ namespace WebWindowComplex
|
||||
// richiedo update shape
|
||||
List<int> reqList = SashList.Select(x => x.GroupId).ToList();
|
||||
await DoPreviewSvg();
|
||||
await UpdateElement(FrameWindow);
|
||||
await DoReqShape(reqList);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user