Merge pull request #5786 from PySimpleGUI/Dev-latest

Increased button pressed display font size.
This commit is contained in:
PySimpleGUI 2022-08-14 16:55:01 -04:00 committed by GitHub
commit 8a68674026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ import PySimpleGUI as sg
Copyright 2022 PySimpleGUI.org Copyright 2022 PySimpleGUI.org
""" """
# sg.theme('dark red')
def TextButton(text): def TextButton(text):
""" """
@ -47,7 +47,7 @@ def main():
# The window's layout # The window's layout
layout = [[TextButton(text) for text in button_text], layout = [[TextButton(text) for text in button_text],
[sg.Text(k='-STATUS-')], [sg.Text(font='_ 14', k='-STATUS-')],
[sg.Ok(), sg.Exit()]] [sg.Ok(), sg.Exit()]]
window = sg.Window('Custom Mouseover Highlighting Buttons', layout, finalize=True) window = sg.Window('Custom Mouseover Highlighting Buttons', layout, finalize=True)