RELEASE 3.0
This commit is contained in:
parent
54e249de59
commit
5a2aa66934
6 changed files with 232 additions and 21 deletions
|
@ -3,13 +3,9 @@
|
|||
# that adjusts the size of text displayed
|
||||
|
||||
import PySimpleGUI as sg
|
||||
|
||||
|
||||
fontSize = 12
|
||||
|
||||
layout = [[sg.Spin([sz for sz in range(6, 172)], font=('Helvetica 20'), initial_value=fontSize, change_submits=True, key='spin'),
|
||||
sg.Slider(range=(6,172), orientation='h', size=(10,20), change_submits=True, key='slider', font=('Helvetica 20')), sg.Text("Aa", size=(2, 1), font="Helvetica " + str(fontSize), key='text')]]
|
||||
|
||||
sz = fontSize
|
||||
form = sg.FlexForm("Font size selector", grab_anywhere=False)
|
||||
form.Layout(layout)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue