/* Generated by MyraPad at 02/09/2021 16:26:04 */
using Myra;
using Myra.Graphics2D;
using Myra.Graphics2D.TextureAtlases;
using Myra.Graphics2D.UI;
using Myra.Graphics2D.Brushes;
using Myra.Graphics2D.UI.Properties;

#if MONOGAME || FNA
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
#elif STRIDE
using Stride.Core.Mathematics;
#else
using System.Drawing;
using System.Numerics;
#endif

namespace Sledgemapper.UI
{
	partial class MapWindow: VerticalStackPanel
	{
		private void BuildUI()
		{
			var label1 = new Label();
			label1.Text = "Map";

			TxtCampaign = new TextBox();
			TxtCampaign.GridColumn = 1;
			TxtCampaign.Id = "TxtCampaign";

			var grid1 = new Grid();
			grid1.ColumnSpacing = 25;
			grid1.RowSpacing = 10;
			grid1.ColumnsProportions.Add(new Proportion
			{
				Type = Myra.Graphics2D.UI.ProportionType.Pixels,
				Value = 60,
			});
			grid1.ColumnsProportions.Add(new Proportion
			{
				Type = Myra.Graphics2D.UI.ProportionType.Fill,
			});
			grid1.Widgets.Add(label1);
			grid1.Widgets.Add(TxtCampaign);

			BtnNewCampaign = new TextButton();
			BtnNewCampaign.Text = "New";
			BtnNewCampaign.Padding = new Thickness(10, 5);
			BtnNewCampaign.HorizontalAlignment = Myra.Graphics2D.UI.HorizontalAlignment.Center;
			BtnNewCampaign.Id = "BtnNewCampaign";

			
			Spacing = 16;
			HorizontalAlignment = Myra.Graphics2D.UI.HorizontalAlignment.Center;
			VerticalAlignment = Myra.Graphics2D.UI.VerticalAlignment.Center;
			Width = 300;
			Padding = new Thickness(10);
			Widgets.Add(grid1);
			Widgets.Add(BtnNewCampaign);
		}

		
		public TextBox TxtCampaign;
		public TextButton BtnNewCampaign;
	}
}
