RNO tabs cut off on the edit screen B2015-123

This commit is contained in:
2016-10-10 18:47:02 +00:00
parent f6ecb98bc8
commit 146073dcb8
2 changed files with 12 additions and 4 deletions

View File

@@ -173,7 +173,7 @@ namespace Volian.Controls.Library
bool lastDigitSingle = Regex.IsMatch(tabString, "^.*[^0-9][0-9] *$");
lblTab.Width = ((lastDigitSingle ? 1 : 0) + tabString.Length) * MyStepPanel.DPI / cpi;
Invalidate();
if (MyItemInfo.MyTab.Offset == 0)
//if (MyItemInfo.MyTab.Offset == 0) // commented out for Farley bug fix B2015-123 alignment of tabs on the edit screen (Farly is only one using tab offset)
{
// In the following if statement, the last part, 'IsHigh & PageBreakOnStep' (PageBreakOnStep
// flags background steps and IsHigh is for the HLS - Cautions/Notes were ok), was added