Fixed resize in single window
issue: MatterHackers/MCCentral#4696 DialogPage fails to resize in SingleWindow mode issue: MatterHackers/MCCentral#4695 Make ShownWelcomeMessage user rather than application based
This commit is contained in:
parent
553d09c353
commit
536c0e2f68
5 changed files with 33 additions and 6 deletions
|
|
@ -75,17 +75,17 @@ Click 'Next' to continue the tour of the interface";
|
|||
TextColor = theme.TextColor,
|
||||
Margin = new BorderDouble(top: 6, left: 6),
|
||||
HAnchor = Agg.UI.HAnchor.Left,
|
||||
Checked = ApplicationSettings.Instance.get(ApplicationSettingsKey.ShownWelcomeMessage) == "false"
|
||||
Checked = ApplicationSettings.Instance.get(UserSettingsKey.ShownWelcomeMessage) == "false"
|
||||
};
|
||||
showWelcomPageCheckBox.Click += (sender, e) =>
|
||||
{
|
||||
if (showWelcomPageCheckBox.Checked)
|
||||
{
|
||||
ApplicationSettings.Instance.set(ApplicationSettingsKey.ShownWelcomeMessage, "false");
|
||||
ApplicationSettings.Instance.set(UserSettingsKey.ShownWelcomeMessage, "false");
|
||||
}
|
||||
else
|
||||
{
|
||||
ApplicationSettings.Instance.set(ApplicationSettingsKey.ShownWelcomeMessage, "true");
|
||||
ApplicationSettings.Instance.set(UserSettingsKey.ShownWelcomeMessage, "true");
|
||||
}
|
||||
};
|
||||
contentRow.AddChild(showWelcomPageCheckBox);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue