rokubrightscript

Roku BrightScript HdListItemIconSelectedUrl clipped


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?

enter image description here


Solution

  • 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.