Forum Archive

FormDialog cell.text_label: change default font

cvp

Is it possible to change the default font of the cell.text_label of a FormDialog?

abcabc

dialogs.py is pure python module (available in Standard Library(3.5)/site-packages). You can copy it (say as custom_dialogs.py) and modify it according to your need. In this case you may need to add a line like as follows after cell initialization :

cell.text_label.font = ('Helvetica', 25)
cvp

Thanks for the answer, I knew this solution but I wanted to know if there is a way to change a default setting, because the dialogs.py does not set the font.