1
Fork 0

Moved reset button

This commit is contained in:
Jake Howard 2015-05-12 22:39:40 +01:00
parent 701f722f10
commit 613a4b36c7

9
GUI.py
View file

@ -85,17 +85,16 @@ class Options_Window:
self.difficulty_scale = Scale(self.master, from_=5, to=500, orient="horizontal", command=self.update_difficulty, length=350)
self.difficulty_scale.pack(ipadx=PADDING_BUTTON/3, padx=PADDING_BUTTON/3)
self.difficulty_scale["value"] = self.options["Difficulty"]
self.difficulty_reset_button = Button(self.master, style="Minor.TButton")
self.difficulty_reset_button.config(text="Reset Difficulty")
self.difficulty_reset_button.pack(ipadx=PADDING_BUTTON/3, padx=PADDING_BUTTON/3)
self.difficulty_reset_button.bind('<Button-1>', self.reset_difficulty)
Frame(self.master,height=23).pack()
self.texture_title = Label(self.master)
self.texture_title.config(text="Select Texture Pack", font=("Courier New", 13))
self.texture_title.pack(ipadx=PADDING_BUTTON/3, padx=PADDING_BUTTON)
self.texture_reset = Button(self.master, style="Minor.TButton")
self.texture_reset.config(text="Reset")
self.texture_reset.pack(ipadx=PADDING_BUTTON/3, padx=PADDING_BUTTON/3)
self.texture_reset.bind('<Button-1>', self.reset_difficulty)
self.texture_select = Listbox(master)
self.texture_select.delete(0, END)
for directory in self.options["Textures"].list_packs():