omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    FormDialog cell.text_label: change default font

    Pythonista
    2
    3
    2093
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cvp
      cvp last edited by

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

      1 Reply Last reply Reply Quote 0
      • abcabc
        abcabc last edited by

        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)
        
        1 Reply Last reply Reply Quote 0
        • cvp
          cvp last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors