This commit is contained in:
parent
912320affb
commit
f0f719b9f6
@ -194,7 +194,7 @@ namespace Volian.Controls.Library
|
||||
break;
|
||||
case 2: // Step
|
||||
// if Table then determine width and location based upon it's parent's location
|
||||
if (_MyStepData.Type == "TABLE" || _MyStepData.ParentType == "TABLE")
|
||||
if (_MyStepData.Type == "Table" || _MyStepData.ParentType == "Table")
|
||||
{
|
||||
_MyStepRTB.Font = _MyStepData.Font.WindowsFont;
|
||||
ItemWidth = (int)TableWidth(_MyStepRTB.Font, _MyItemInfo.MyContent.Text);
|
||||
@ -973,6 +973,15 @@ namespace Volian.Controls.Library
|
||||
public void AddSiblingAfter()
|
||||
{
|
||||
ItemInfo newItemInfo = MyItemInfo.InsertSiblingAfter("");
|
||||
DoAddSiblingAfter(newItemInfo);
|
||||
}
|
||||
public void AddSiblingAfter(int? type)
|
||||
{
|
||||
ItemInfo newItemInfo = MyItemInfo.InsertSiblingAfter("","",type);
|
||||
DoAddSiblingAfter(newItemInfo);
|
||||
}
|
||||
private void DoAddSiblingAfter(ItemInfo newItemInfo)
|
||||
{
|
||||
StepItem newStepItem = null;
|
||||
switch (_MyChildRelation)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user