From 5cba5eca78b2dbd3482dd00507077ce91d625c9f Mon Sep 17 00:00:00 2001 From: Kevin Pope Date: Tue, 15 Apr 2014 12:12:40 -0700 Subject: [PATCH] Added default message to 2D view. Changed minimum width for three-column view. --- ApplicationView/WidescreenPanel.cs | 2 +- PartPreviewWindow/GcodeViewBasic.cs | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ApplicationView/WidescreenPanel.cs b/ApplicationView/WidescreenPanel.cs index 55bb9e82a..dbb1b6330 100644 --- a/ApplicationView/WidescreenPanel.cs +++ b/ApplicationView/WidescreenPanel.cs @@ -63,7 +63,7 @@ namespace MatterHackers.MatterControl FlowLayoutWidget ColumnOne; FlowLayoutWidget ColumnTwo; - int ColumnTwoMinWidth = 1390; + int ColumnTwoMinWidth = 1590; FlowLayoutWidget ColumnThree; int ColumnThreeMinWidth = 990; diff --git a/PartPreviewWindow/GcodeViewBasic.cs b/PartPreviewWindow/GcodeViewBasic.cs index f6f6130a4..9b2a62f81 100644 --- a/PartPreviewWindow/GcodeViewBasic.cs +++ b/PartPreviewWindow/GcodeViewBasic.cs @@ -130,7 +130,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow gcodeDispalyWidget = new GuiWidget(HAnchor.ParentLeftRight, Agg.UI.VAnchor.ParentBottomTop); - string startingMessage = ""; + string startingMessage = "Press 'Add' to select an item."; if (printItem != null) { startingMessage = LocalizedString.Get("No GCode Available..."); @@ -170,6 +170,10 @@ namespace MatterHackers.MatterControl.PartPreviewWindow } } } + else + { + generateGCodeButton.Visible = false; + } centerPartPreviewAndControls.AddChild(gcodeDispalyWidget);