A bug fix for Farley was causing problems for Facing Page code. It was fixed.
This commit is contained in:
parent
6ac7897946
commit
26a9fcba81
@ -578,7 +578,13 @@ namespace Volian.Controls.Library
|
|||||||
EditItem lastChild = LastChild(siblingEditItems);
|
EditItem lastChild = LastChild(siblingEditItems);
|
||||||
siblingEditItems.Add(this);
|
siblingEditItems.Add(this);
|
||||||
MyPreviousEditItem = lastChild;
|
MyPreviousEditItem = lastChild;
|
||||||
MyParentEditItem = MyPreviousEditItem.MyParentEditItem; // Farley - part of bug fix B2015-123 alignment of tabs on the edit screen
|
// RHM - The following line was remove for Facing Pages (Supplemental Information)
|
||||||
|
// *******************************************************************************
|
||||||
|
// When MyPreviousEditItem is set, the location and size is set as a side-effect.
|
||||||
|
// When MyParentEditItem is set, the location and size is set as a side effect.
|
||||||
|
// Only Previous or Parent should be set, no both.
|
||||||
|
// *******************************************************************************
|
||||||
|
//MyParentEditItem = MyPreviousEditItem.MyParentEditItem; // Farley - part of bug fix B2015-123 alignment of tabs on the edit screen
|
||||||
}
|
}
|
||||||
else // Add to the middle of the list before a particular item
|
else // Add to the middle of the list before a particular item
|
||||||
{
|
{
|
||||||
@ -2881,8 +2887,9 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
else if (MyPreviousEditItem != null && MyPreviousEditItem.MyItemInfo.FormatStepData != null && MyPreviousEditItem.MyItemInfo.FormatStepData.ReadOnly)
|
else if (MyPreviousEditItem != null && MyPreviousEditItem.MyItemInfo.FormatStepData != null && MyPreviousEditItem.MyItemInfo.FormatStepData.ReadOnly)
|
||||||
ItemWidth = MyStepPanel.ToDisplay(MyStepSectionLayoutData.ColT) + MyStepPanel.ToDisplay(MyStepSectionLayoutData.WidSTableEdit, 0);
|
ItemWidth = MyStepPanel.ToDisplay(MyStepSectionLayoutData.ColT) + MyStepPanel.ToDisplay(MyStepSectionLayoutData.WidSTableEdit, 0);
|
||||||
else if (MyItemInfo.MyTab.Offset != 0) // Farley - part of bug fix B2015-123 alignment of tabs on the edit screen (Farly is only one using tab offset)
|
// RHM The following lines were commented-out for Facing Pages (Supplemental Information) to test follow the instructions
|
||||||
ContentWidth = (MyPreviousEditItem.MyItemInfo.MyTab.Offset != 0) ? MyPreviousEditItem.ContentWidth : MyPreviousEditItem.ContentWidth + 10;
|
//else if (MyItemInfo.MyTab.Offset != 0) // Farley - part of bug fix B2015-123 alignment of tabs on the edit screen (Farly is only one using tab offset)
|
||||||
|
// ContentWidth = (MyPreviousEditItem.MyItemInfo.MyTab.Offset != 0) ? MyPreviousEditItem.ContentWidth : MyPreviousEditItem.ContentWidth + 10;
|
||||||
else
|
else
|
||||||
Width = MyPreviousEditItem.Width;
|
Width = MyPreviousEditItem.Width;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user