pyxbmct font size
#1
Hello ,

Where Do I find the list of font size values ?

https://romanvm.github.io/script.module....html#Label

for example this value return en error :
label_url = pyxbmct.Label(self.url, font=pyxbmct.font10, alignment=pyxbmct.ALIGN_CENTER)

AttributeError: module 'pyxbmct' has no attribute 'font10'
Reply
#2
I think (not sure) it inherits from the active skin font.xml fontset.  font13 is a generic that works in any skin.

scott s.
.
Reply
#3
Ok Thank you
Reply
#4
pyxbmct definitely has no attribute font10. You can find specific font names somewhere in skin files (I don't know where exactly because I'm not a skinner), but those names are skin-dependent and you cannot rely on them. It is safe to say that addons have no custom fonts support.
Reply

Logout Mark Read Team Forum Stats Members Help
pyxbmct font size0