/* Generated by MyraPad at 03/09/2021 16:50:20 */ 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 ListItem: HorizontalStackPanel { private void BuildUI() { ItemName = new Label(); ItemName.Text = "Highfell"; ItemName.TextColor = ColorStorage.CreateColor(32, 32, 32, 255); ItemName.Margin = new Thickness(10, 0, 0, 0); ItemName.VerticalAlignment = Myra.Graphics2D.UI.VerticalAlignment.Center; ItemName.Id = "ItemName"; VerticalAlignment = Myra.Graphics2D.UI.VerticalAlignment.Center; Height = 30; BorderThickness = new Thickness(2); Padding = new Thickness(5); Background = new SolidBrush("#D9D9D9FF"); Id = "PnlListItem"; Widgets.Add(ItemName); } public Label ItemName; } }