Home > Mobile >  how to reset python font to default
how to reset python font to default

Time:06-03

I would like to know how to reset font back to default in code. I used

Frame4.option_add("*Font", "Arial, 14")

to make the message frame visually bigger, now I would like to return it to normal after closing the frame. I tried

window.option_add("*Font", "Courier New, 10"

but it kept giving error about expecting integer but got New

CodePudding user response:

You should be able to do:

window.option_add("*Font", "Courier, 10")

  • Related