Adding buttons to SelectionTags items with varying length

Hi!

I’m dynamically adding items to the SelectionTags object. Now I would like to add a button to each item within the object so that the user is able to remove an item. See below what I want it to look like:

The ‘cross’ icon should hence always be added to the top right of the icon, but because the sizes of the items will vary, this looks impossible to achieve in Wix? Any (dirty) solution?