Previous fix for positioning of high level step text in the edit window caused the width of the sub-steps to get smaller and smaller. Adjust the MyStepRTB.Left only if not on a highlevel step or the tab contains “{Section Prefix}”.
This commit is contained in:
parent
ace837aa1d
commit
f3cba1acde
@ -167,7 +167,7 @@ namespace Volian.Controls.Library
|
||||
Invalidate();
|
||||
if (MyItemInfo.MyTab.Offset == 0)
|
||||
{
|
||||
if (MyItemInfo.FormatStepData == null || MyItemInfo.FormatStepData.TabData.IdentEdit.Contains("{Section Prefix}"))
|
||||
if (MyItemInfo.FormatStepData == null || MyItemInfo.FormatStepData.TabData.IdentEdit.Contains("{Section Prefix}") || !MyItemInfo.IsHigh)
|
||||
_MyStepRTB.Left = lblTab.Left + lblTab.Width;
|
||||
_MyStepRTB.Width = Width - _MyStepRTB.Left - RTBMargin - CheckOffMargin;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user