made game select buttons look pretty

This commit is contained in:
Seth Samuel 2024-11-15 15:17:55 +13:00
parent ceb2f538b8
commit f085cd8e8b

View file

@ -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