jarvisteach / appJar

Simple Tkinter GUIs in Python
http://appJar.info
Other
615 stars 68 forks source link

Statusbar font size #463

Closed chrisw-thomas closed 6 years ago

chrisw-thomas commented 6 years ago

Is there a way to set the size of the font used for a Statusbar?

jarvisteach commented 6 years ago

The statusbar has its own font, so you can change it (in Python3), with the following code:

from tkinter import font as tkFont
from appJar import gui

with gui() as app:
    app.label('hello world')
    app.status(text="hello world")
    app._statusFont = tkFont.Font(family="Helvetica", size=20)
jarvisteach commented 6 years ago

New setter/getter added:

app.statusFont = 20