2021-11-21, 02:45
I have a script that shows a DialogWindow, that I would like to make a little prettier. Currently I am using a window.xml file containing a single label to show some text. I update the text as the script runs.
I subclass WindowDialogXML and open the window using:
This shows my label as transparent over the underlying video, which is fine, but I would like to centre the label and give the it a light transparent background to improve readability, if possible. Any help would be appreciated.
I subclass WindowDialogXML and open the window using:
python:
class SkipItWindow(xbmcgui.WindowXMLDialog):
.
.
ui = SkipItWindow('skipitwindow.xml', CWD, 'default', '1080i')
This shows my label as transparent over the underlying video, which is fine, but I would like to centre the label and give the it a light transparent background to improve readability, if possible. Any help would be appreciated.