diff --git a/samples/Myra.Samples.Notepad/Notepad.Generated.cs b/samples/Myra.Samples.Notepad/Notepad.Generated.cs
index 4fe52847..acd1967b 100644
--- a/samples/Myra.Samples.Notepad/Notepad.Generated.cs
+++ b/samples/Myra.Samples.Notepad/Notepad.Generated.cs
@@ -1,4 +1,4 @@
-/* Generated by MyraPad at 06.01.2020 23:04:25 */
+/* Generated by MyraPad at 10.01.2020 23:09:06 */
using Myra.Assets;
using Myra.Graphics2D;
using Myra.Graphics2D.TextureAtlases;
@@ -35,7 +35,6 @@ private void BuildUI()
menuItemSaveAs = new MenuItem();
menuItemSaveAs.Text = "Save &As...";
- menuItemSaveAs.ShortcutText = "Ctrl+A";
menuItemSaveAs.Id = "menuItemSaveAs";
var menuSeparator1 = new MenuSeparator();
diff --git a/samples/Myra.Samples.Notepad/NotepadGame.cs b/samples/Myra.Samples.Notepad/NotepadGame.cs
index 58e27c69..b9af0d82 100644
--- a/samples/Myra.Samples.Notepad/NotepadGame.cs
+++ b/samples/Myra.Samples.Notepad/NotepadGame.cs
@@ -121,10 +121,6 @@ protected override void LoadContent()
{
SaveItemOnDown(this, EventArgs.Empty);
}
- else if (Desktop.DownKeys.Contains(Keys.A))
- {
- SaveAsItemOnDown(this, EventArgs.Empty);
- }
else if (Desktop.DownKeys.Contains(Keys.Q))
{
Exit();
diff --git a/samples/Myra.Samples.Notepad/notepad.xml b/samples/Myra.Samples.Notepad/notepad.xml
index f79a0aed..ab5fcfc2 100644
--- a/samples/Myra.Samples.Notepad/notepad.xml
+++ b/samples/Myra.Samples.Notepad/notepad.xml
@@ -11,7 +11,7 @@
-
+
diff --git a/src/MyraPad/UI/ExportOptionsDialog.Generated.cs b/src/MyraPad/UI/ExportOptionsDialog.Generated.cs
index 1df1f8e1..3931d135 100644
--- a/src/MyraPad/UI/ExportOptionsDialog.Generated.cs
+++ b/src/MyraPad/UI/ExportOptionsDialog.Generated.cs
@@ -1,8 +1,13 @@
-/* Generated by MyraPad at 05.10.2019 16:02:40 */
+/* Generated by MyraPad at 10.01.2020 23:09:31 */
+using Myra.Assets;
+using Myra.Graphics2D;
+using Myra.Graphics2D.TextureAtlases;
using Myra.Graphics2D.UI;
+using Myra.Graphics2D.Brushes;
#if !XENKO
using Microsoft.Xna.Framework;
+using Microsoft.Xna.Framework.Graphics;
#else
using Xenko.Core.Mathematics;
#endif
@@ -15,38 +20,34 @@ private void BuildUI()
{
var label1 = new Label();
label1.Text = "Class Name:";
- label1.Id = "";
label1.GridRow = 1;
_textClassName = new TextBox();
- _textClassName.Text = "";
- _textClassName.Id = "_textClassName";
_textClassName.GridColumn = 1;
_textClassName.GridRow = 1;
+ _textClassName.Id = "_textClassName";
var label2 = new Label();
label2.Text = "Output Path:";
label2.GridRow = 2;
_textOutputPath = new TextBox();
- _textOutputPath.Text = "";
- _textOutputPath.Id = "_textOutputPath";
_textOutputPath.GridColumn = 1;
_textOutputPath.GridRow = 2;
+ _textOutputPath.Id = "_textOutputPath";
_buttonChangeOutputPath = new TextButton();
_buttonChangeOutputPath.Text = "Change...";
- _buttonChangeOutputPath.Id = "_buttonChangeOutputPath";
_buttonChangeOutputPath.GridColumn = 2;
_buttonChangeOutputPath.GridRow = 2;
+ _buttonChangeOutputPath.Id = "_buttonChangeOutputPath";
var label3 = new Label();
label3.Text = "Namespace:";
_textNamespace = new TextBox();
- _textNamespace.Text = "";
- _textNamespace.Id = "_textNamespace";
_textNamespace.GridColumn = 1;
+ _textNamespace.Id = "_textNamespace";
Root = new Grid();
Root.ColumnSpacing = 8;
@@ -67,8 +68,8 @@ private void BuildUI()
{
Type = Myra.Graphics2D.UI.ProportionType.Auto,
});
- Root.Id = "Root";
Root.Width = 800;
+ Root.Id = "Root";
Root.Widgets.Add(label1);
Root.Widgets.Add(_textClassName);
Root.Widgets.Add(label2);
@@ -79,8 +80,8 @@ private void BuildUI()
Title = "Export";
- Left = 124;
- Top = 138;
+ Left = 96;
+ Top = 133;
Content = Root;
}
diff --git a/src/MyraPad/UI/NewProjectWizard.Generated.cs b/src/MyraPad/UI/NewProjectWizard.Generated.cs
index 5df24e0e..b9888129 100644
--- a/src/MyraPad/UI/NewProjectWizard.Generated.cs
+++ b/src/MyraPad/UI/NewProjectWizard.Generated.cs
@@ -1,8 +1,13 @@
-/* Generated by MyraPad at 05.10.2019 16:02:53 */
+/* Generated by MyraPad at 10.01.2020 23:09:41 */
+using Myra.Assets;
+using Myra.Graphics2D;
+using Myra.Graphics2D.TextureAtlases;
using Myra.Graphics2D.UI;
+using Myra.Graphics2D.Brushes;
#if !XENKO
using Microsoft.Xna.Framework;
+using Microsoft.Xna.Framework.Graphics;
#else
using Xenko.Core.Mathematics;
#endif
@@ -62,8 +67,8 @@ private void BuildUI()
Title = "Choose Root Container";
- Left = 431;
- Top = 83;
+ Left = 403;
+ Top = 78;
Content = verticalStackPanel1;
}
diff --git a/src/MyraPad/UI/StudioWidget.Generated.cs b/src/MyraPad/UI/StudioWidget.Generated.cs
index 03aa68c1..e4fd1f16 100644
--- a/src/MyraPad/UI/StudioWidget.Generated.cs
+++ b/src/MyraPad/UI/StudioWidget.Generated.cs
@@ -1,8 +1,9 @@
-/* Generated by MyraPad at 06.01.2020 22:45:13 */
+/* Generated by MyraPad at 10.01.2020 23:09:59 */
using Myra.Assets;
using Myra.Graphics2D;
using Myra.Graphics2D.TextureAtlases;
using Myra.Graphics2D.UI;
+using Myra.Graphics2D.Brushes;
#if !XENKO
using Microsoft.Xna.Framework;
@@ -110,7 +111,6 @@ private void BuildUI()
var menuItem1 = new MenuItem();
menuItem1.Text = "&Edit";
- menuItem1.Id = "";
menuItem1.Items.Add(_menuItemSelectAll);
menuItem1.Items.Add(_menuItemCopy);
menuItem1.Items.Add(_menuItemPaste);
@@ -123,7 +123,6 @@ private void BuildUI()
var menuItem2 = new MenuItem();
menuItem2.Text = "&Help";
- menuItem2.Id = "";
menuItem2.Items.Add(_menuHelpAbout);
_mainMenu = new HorizontalMenu();
diff --git a/src/MyraPad/UI/exportOptionsDialog.xml b/src/MyraPad/UI/exportOptionsDialog.xml
index fd80a7b1..26a6bde4 100644
--- a/src/MyraPad/UI/exportOptionsDialog.xml
+++ b/src/MyraPad/UI/exportOptionsDialog.xml
@@ -1,20 +1,20 @@
-
\ No newline at end of file
diff --git a/src/MyraPad/UI/newProjectWizard.xml b/src/MyraPad/UI/newProjectWizard.xml
index 5946d7b3..28707881 100644
--- a/src/MyraPad/UI/newProjectWizard.xml
+++ b/src/MyraPad/UI/newProjectWizard.xml
@@ -1,6 +1,6 @@
-
+
diff --git a/src/MyraPad/UI/studio.xml b/src/MyraPad/UI/studio.xml
index 90b7badd..92f3aecc 100644
--- a/src/MyraPad/UI/studio.xml
+++ b/src/MyraPad/UI/studio.xml
@@ -21,14 +21,14 @@
-