add tool tips to setup stages

issue: MatterHackers/MCCentral#5621
Let the user know in the setup wizard when all required setup is complete
This commit is contained in:
LarsBrubaker 2019-06-01 09:10:34 -07:00
parent 4b9ff1bbbe
commit 6d6bc91443
2 changed files with 8 additions and 1 deletions

View file

@ -33,6 +33,7 @@ using MatterHackers.Agg.Image;
using MatterHackers.Agg.Platform;
using MatterHackers.Agg.UI;
using MatterHackers.ImageProcessing;
using MatterHackers.Localizations;
using MatterHackers.MatterControl.CustomWidgets;
namespace MatterHackers.MatterControl
@ -150,6 +151,8 @@ namespace MatterHackers.MatterControl
icon = disabledSetupIcon;
}
ToolTipText = "Required".Localize();
}
else if (!stage.Completed)
{
@ -164,6 +167,8 @@ namespace MatterHackers.MatterControl
icon = disabledSetupIcon;
}
ToolTipText = "Optional".Localize();
}
else
{
@ -178,6 +183,8 @@ namespace MatterHackers.MatterControl
icon = disabledCompletedIcon;
}
ToolTipText = "Completed".Localize();
}
return icon;