From f3cba1acdee6be0a0c0b227dc8fafdae87b46e8a Mon Sep 17 00:00:00 2001 From: John Date: Mon, 12 Jan 2015 18:06:18 +0000 Subject: [PATCH] =?UTF-8?q?Previous=20fix=20for=20positioning=20of=20high?= =?UTF-8?q?=20level=20step=20text=20in=20the=20edit=20window=20caused=20th?= =?UTF-8?q?e=20width=20of=20the=20sub-steps=20to=20get=20smaller=20and=20s?= =?UTF-8?q?maller.=20Adjust=20the=20MyStepRTB.Left=20only=20if=20not=20on?= =?UTF-8?q?=20a=20highlevel=20step=20or=20the=20tab=20contains=20=E2=80=9C?= =?UTF-8?q?{Section=20Prefix}=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Controls.Library/RTBItem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/RTBItem.cs b/PROMS/Volian.Controls.Library/RTBItem.cs index aafd1987..991c9a30 100644 --- a/PROMS/Volian.Controls.Library/RTBItem.cs +++ b/PROMS/Volian.Controls.Library/RTBItem.cs @@ -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; }