mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Move log button and minimize padding to fit existing window size
This commit is contained in:
parent
8bc269fa99
commit
3ed864021d
@ -104,9 +104,6 @@ class ConfigurationMenu(Menu):
|
|||||||
Checkbutton(body, variable=self.night_var, **STYLES["radiobutton"]).grid(row=row, column=1, sticky=E)
|
Checkbutton(body, variable=self.night_var, **STYLES["radiobutton"]).grid(row=row, column=1, sticky=E)
|
||||||
row += 1
|
row += 1
|
||||||
|
|
||||||
Button(body, text="Display logs", command=self.display_logs, **STYLES["btn-primary"]).grid(row=row, column=1, sticky=E, pady=30)
|
|
||||||
row += 1
|
|
||||||
|
|
||||||
Label(body, text="Contributors: ", **STYLES["strong"]).grid(row=row, column=0, columnspan=2, sticky=EW)
|
Label(body, text="Contributors: ", **STYLES["strong"]).grid(row=row, column=0, columnspan=2, sticky=EW)
|
||||||
row += 1
|
row += 1
|
||||||
|
|
||||||
@ -118,7 +115,8 @@ class ConfigurationMenu(Menu):
|
|||||||
Button(body, text="[github]", command=lambda: webbrowser.open_new_tab("http://github.com/Khopa"), **STYLES["widget"]).grid(row=row, column=1, sticky=E)
|
Button(body, text="[github]", command=lambda: webbrowser.open_new_tab("http://github.com/Khopa"), **STYLES["widget"]).grid(row=row, column=1, sticky=E)
|
||||||
row += 1
|
row += 1
|
||||||
|
|
||||||
Button(body, text="Cheat +200m", command=self.cheat_money, **STYLES["btn-danger"]).grid(row=row, column=1, pady=30)
|
Button(body, text="Display logs", command=self.display_logs, **STYLES["btn-primary"]).grid(row=row, column=0, pady=5)
|
||||||
|
Button(body, text="Cheat +200m", command=self.cheat_money, **STYLES["btn-danger"]).grid(row=row, column=1)
|
||||||
|
|
||||||
def display_logs(self):
|
def display_logs(self):
|
||||||
raise ShowLogsException()
|
raise ShowLogsException()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user