I'm trying to display an image on an item in a LabelList. I've set the HDLISTITEMICONSELECTEDURL
field to an image in my images folder. At runtime, this results in the image clipped on the left. I'm using a 16x16 png image. I've set the text alignment to Center.
How can I display the full image?
I was able to resolve this problem by replacing the LabelList with a ButtonGroup. This allowed me to set the IconUri
and focusedIconUri
fields to the appropriate image fields.