|
@@ -611,11 +611,11 @@ def draw_setup(gui,xframe,data):
|
|
|
ok = 0
|
|
|
|
|
|
if comm == "SAVE\nSHOW":
|
|
|
- b = tk.Button(frame,bg="lightgrey", text=str(comm),width=4,height=2)
|
|
|
+ b = tk.Button(frame,bg="lightgrey", text=str(comm),width=6,height=2)
|
|
|
myTip = Hovertip(b,'Strg + S ')
|
|
|
ok = 1
|
|
|
elif comm == "LOAD\nSHOW" and pro_mode:
|
|
|
- b = tk.Button(frame,bg="lightgrey", text=str(comm),width=4,height=2)
|
|
|
+ b = tk.Button(frame,bg="lightgrey", text=str(comm),width=6,height=2)
|
|
|
ok = 1
|
|
|
elif comm == "SAVE\nSHOW AS" and pro_mode:
|
|
|
b = tk.Button(frame,bg="lightgrey", text=str(comm),width=6,height=2)
|
|
@@ -624,10 +624,10 @@ def draw_setup(gui,xframe,data):
|
|
|
b = tk.Button(frame,bg="lightgrey", text=str(comm),width=6,height=2)
|
|
|
ok = 1
|
|
|
elif comm == "NEW\nSHOW" and pro_mode:
|
|
|
- b = tk.Button(frame,bg="lightgreen", text=str(comm),width=5,height=2)
|
|
|
+ b = tk.Button(frame,bg="lightgreen", text=str(comm),width=6,height=2)
|
|
|
ok = 1
|
|
|
elif comm == "DRAW\nGUI" and pro_mode:
|
|
|
- b = tk.Button(frame,bg="lightgrey", text=str(comm),width=5,height=2)
|
|
|
+ b = tk.Button(frame,bg="lightgrey", text=str(comm),width=6,height=2)
|
|
|
ok = 1
|
|
|
elif comm == "PRO\nMODE":
|
|
|
bg="lightgrey"
|
|
@@ -635,14 +635,14 @@ def draw_setup(gui,xframe,data):
|
|
|
if pro_mode:
|
|
|
bg="green"
|
|
|
comm = "EASY\nMODE"
|
|
|
- b = tk.Button(frame,bg=bg, text=str(comm),width=5,height=2)
|
|
|
+ b = tk.Button(frame,bg=bg, text=str(comm),width=6,height=2)
|
|
|
ok = 1
|
|
|
|
|
|
elif pro_mode:
|
|
|
- b = tk.Button(frame,bg="grey", text=str(comm),width=4,height=2)
|
|
|
+ b = tk.Button(frame,bg="grey", text=str(comm),width=6,height=2)
|
|
|
ok = 1
|
|
|
else: #empty
|
|
|
- b = tk.Button(frame,bg="grey", text="",width=5,height=2)
|
|
|
+ b = tk.Button(frame,bg="grey", text="",width=6,height=2)
|
|
|
|
|
|
if comm not in gui.commands.elem:
|
|
|
gui.setup_elem[comm] = b
|