ui fixes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michele 2021-09-02 23:42:03 +01:00
parent 12080cf6da
commit a8991b474f
5 changed files with 26 additions and 21 deletions

View file

@ -535,15 +535,15 @@ namespace Sledgemapper
{
var item = new CampaignListItem();
item.TxtCampaignName.Text = campaign.Name;
item.Background = new NinePatchRegion(
Content.Load<Texture2D>("listBackground"), new Rectangle(0, 0, 418, 25),
new Myra.Graphics2D.Thickness
{
Left = 11,
Right = 11,
Top = 11,
Bottom = 11
});
//item.Background = new NinePatchRegion(
// Content.Load<Texture2D>("listBackground"), new Rectangle(0, 0, 418, 25),
// new Myra.Graphics2D.Thickness
// {
// Left = 11,
// Right = 11,
// Top = 11,
// Bottom = 11
// });
item.TouchUp += OnCampaignSelected;
content.StackCampaignsList.AddChild(item);
}