/* Generated by MyraPad at 16/09/2021 12:29:41 */
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 PlayerList: VerticalStackPanel
	{
		private void BuildUI()
		{
			var label1 = new Label();
			label1.Text = "Players";
			label1.HorizontalAlignment = Myra.Graphics2D.UI.HorizontalAlignment.Center;

			StackCampaignsList = new VerticalStackPanel();
			StackCampaignsList.MinHeight = 350;
			StackCampaignsList.MaxHeight = 350;
			StackCampaignsList.Id = "StackCampaignsList";

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

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

			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(BtnInvitePlayer);
			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 BtnInvitePlayer;
		public TextButton BtnCancelCampaign;
	}
}
