aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls/JobOutlineControl.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls/JobOutlineControl.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls/JobOutlineControl.cs
index 86d83ac10..98f999574 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls/JobOutlineControl.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Controls/JobOutlineControl.cs
@@ -18,6 +18,9 @@ namespace Tango.MachineStudio.Developer.Controls
public class JobOutlineControl : Control
{
#region members
+
+ public bool DrawMainTitle { get; set; } = true;
+
private Size _sizeControl = new Size(0, 0);
ScrollViewer _parentScrollViewer = null;
public struct LevelOffset
@@ -88,8 +91,12 @@ namespace Tango.MachineStudio.Developer.Controls
}
_sizeControl = new Size();
_sizeControl.Height += 10;
- DrawHeaderText(drawingContext, "JOB OUTLINE", 30, LevelOffset.level_0);
- _sizeControl.Height += HEADER_FONT_HEIGHT;
+
+ if (DrawMainTitle)
+ {
+ DrawHeaderText(drawingContext, "JOB OUTLINE", 30, LevelOffset.level_0);
+ _sizeControl.Height += HEADER_FONT_HEIGHT;
+ }
_sizeControl.Height += 20;
DrawHeaderText(drawingContext, "BASIC", 17, LevelOffset.level_0);