/* Generated by MyraPad at 02/09/2021 23:40:23 */
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 CampaignList: VerticalStackPanel
	{
		private void BuildUI()
		{
			var label1 = new Label();
			label1.Text = "Campaigns";
			label1.HorizontalAlignment = Myra.Graphics2D.UI.HorizontalAlignment.Center;

			StackCampaignsList = new VerticalStackPanel();
			StackCampaignsList.DefaultProportion = new Proportion
			{
				Type = Myra.Graphics2D.UI.ProportionType.Auto,
			};
			StackCampaignsList.Id = "StackCampaignsList";

			var scrollViewer1 = new ScrollViewer();
			scrollViewer1.Height = 250;
			scrollViewer1.Content = StackCampaignsList;

			BtnNewCampaign = new TextButton();
			BtnNewCampaign.Text = "New";
			BtnNewCampaign.Width = 70;
			BtnNewCampaign.Height = 20;
			BtnNewCampaign.Padding = new Thickness(5);
			BtnNewCampaign.HorizontalAlignment = Myra.Graphics2D.UI.HorizontalAlignment.Center;
			BtnNewCampaign.Id = "BtnNewCampaign";

			BtnLoadCampaign = new TextButton();
			BtnLoadCampaign.Text = "Load";
			BtnLoadCampaign.Width = 70;
			BtnLoadCampaign.Height = 20;
			BtnLoadCampaign.Padding = new Thickness(5);
			BtnLoadCampaign.HorizontalAlignment = Myra.Graphics2D.UI.HorizontalAlignment.Center;
			BtnLoadCampaign.Id = "BtnLoadCampaign";

			BtnCancelCampaign = new TextButton();
			BtnCancelCampaign.Text = "Cancel";
			BtnCancelCampaign.Width = 70;
			BtnCancelCampaign.Height = 20;
			BtnCancelCampaign.Padding = new Thickness(5);
			BtnCancelCampaign.HorizontalAlignment = Myra.Graphics2D.UI.HorizontalAlignment.Center;
			BtnCancelCampaign.Id = "BtnCancelCampaign";

			var horizontalStackPanel1 = new HorizontalStackPanel();
			horizontalStackPanel1.Spacing = 15;
			horizontalStackPanel1.HorizontalAlignment = Myra.Graphics2D.UI.HorizontalAlignment.Right;
			horizontalStackPanel1.Widgets.Add(BtnNewCampaign);
			horizontalStackPanel1.Widgets.Add(BtnLoadCampaign);
			horizontalStackPanel1.Widgets.Add(BtnCancelCampaign);

			
			Spacing = 13;
			Width = 400;
			Padding = new Thickness(10);
			Widgets.Add(label1);
			Widgets.Add(scrollViewer1);
			Widgets.Add(horizontalStackPanel1);
		}

		
		public VerticalStackPanel StackCampaignsList;
		public TextButton BtnNewCampaign;
		public TextButton BtnLoadCampaign;
		public TextButton BtnCancelCampaign;
	}
}
