This commit is contained in:
parent
12080cf6da
commit
a8991b474f
5 changed files with 26 additions and 21 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue