/* Generated by MyraPad at 28/08/2021 19:49:48 */ 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 PlayerListItem: HorizontalStackPanel { private void BuildUI() { TxtPlayerName = new Label(); TxtPlayerName.Text = "Highfell"; TxtPlayerName.TextColor = ColorStorage.CreateColor(102, 102, 102, 255); TxtPlayerName.VerticalAlignment = Myra.Graphics2D.UI.VerticalAlignment.Center; TxtPlayerName.Background = new SolidBrush("#00000000"); TxtPlayerName.Id = "TxtPlayerName"; VerticalAlignment = Myra.Graphics2D.UI.VerticalAlignment.Center; Width = 300; Height = 30; BorderThickness = new Thickness(2); Padding = new Thickness(10); Id = "PnlPlayerItem"; Widgets.Add(TxtPlayerName); } public Label TxtPlayerName; } }