made game select buttons look pretty
This commit is contained in:
parent
ceb2f538b8
commit
f085cd8e8b
1 changed files with 3 additions and 2 deletions
|
|
@ -91,8 +91,9 @@ gameSelectLable.pack(side="top")
|
||||||
tkinter.Label(gameSelectFrame,textvariable=gameSelectText)
|
tkinter.Label(gameSelectFrame,textvariable=gameSelectText)
|
||||||
gameSelectLOptions= [GameType.BEAMNG,GameType.FORZA]
|
gameSelectLOptions= [GameType.BEAMNG,GameType.FORZA]
|
||||||
##gameSelectRadioButtons
|
##gameSelectRadioButtons
|
||||||
tkinter.Radiobutton(gameSelectFrame,text="BeamNG",variable=tkGametype,value=GameType.BEAMNG.value,command=None).pack()
|
##space after text is so the buttons are the same size
|
||||||
tkinter.Radiobutton(gameSelectFrame,text="Forza",variable=tkGametype,value=GameType.FORZA.value,command=None).pack()
|
tkinter.Radiobutton(gameSelectFrame,text="BeamNG ",variable=tkGametype,value=GameType.BEAMNG.value).pack(anchor="w")
|
||||||
|
tkinter.Radiobutton(gameSelectFrame,text="Forza ",variable=tkGametype,value=GameType.FORZA.value).pack(anchor="w")
|
||||||
|
|
||||||
rootFrameGui.mainloop()
|
rootFrameGui.mainloop()
|
||||||
exit() #### exit for testing
|
exit() #### exit for testing
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue