2019-03-02, 15:11
I'm using xbmcgui.ControlFadeLabel but it does not take the "alignment" argument by default it aligns right instead I would like the left alignment
14:08:55.498 T:1691992944 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'alignment' is an invalid keyword argument for this function
Traceback (most recent call last):
File "service.py", line 84, in <module>
fadelabel = xbmcgui.ControlFadeLabel(100, ypos + 40, xbmcgui.getScreenWidth(), 30, font='font14', textColor='0xFFFFFFFF', alignment=0)
TypeError: 'alignment' is an invalid keyword argument for this function
-->End of Python script error report<--
14:08:55.498 T:1691992944 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'alignment' is an invalid keyword argument for this function
Traceback (most recent call last):
File "service.py", line 84, in <module>
fadelabel = xbmcgui.ControlFadeLabel(100, ypos + 40, xbmcgui.getScreenWidth(), 30, font='font14', textColor='0xFFFFFFFF', alignment=0)
TypeError: 'alignment' is an invalid keyword argument for this function
-->End of Python script error report<--