2015-01-08, 03:19
Hoping someone can spot my problem... I'm trying to resize each buttons width to fit within the background image.
I've tried all the variables nothing seems to change the image size and buttons size.
Any Help would be apprecated, Thanks
I've tried all the variables nothing seems to change the image size and buttons size.
Any Help would be apprecated, Thanks
Code:
# ControlList (x, y, width, height[, font, textColor, buttonTexture, buttonFocusTexture, selectedColor, imageWidth, imageHeight, itemTextXOffset, itemTextYOffset, itemHeight, space, alignmentY])n"//, shadowColor])
self.list = xbmcgui.ControlList(198, 160, -50, 600, 'font12', 'FFFFFFFF', 'button-nofocus.png', 'pstvButtonFocus.png', 'FFFFFFFF', 0, 0, 0, 0, 40, 0, 40)
self.addControl(self.list)
self.list.addItems(items=Titlelst)
self.list.setWidth(200)
self.setFocus(self.list)