sledgemapper/Sledgemapper/UI/ListItem.Generated.cs
Michele Scandura 4149d744e8
All checks were successful
continuous-integration/drone/push Build is passing
ui tweaks
2021-09-03 17:16:43 +01:00

45 lines
1.1 KiB
C#

/* 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;
}
}