Fix games position
This commit is contained in:
7
main.py
7
main.py
@@ -11,7 +11,6 @@ win['bg'] = color.LEVEL_9
|
|||||||
win.title('Quadraludi')
|
win.title('Quadraludi')
|
||||||
win.geometry('806x606')
|
win.geometry('806x606')
|
||||||
win.resizable(False, False)
|
win.resizable(False, False)
|
||||||
win.wm_attributes('-transparentcolor', color.TRANSPARENT)
|
|
||||||
|
|
||||||
# Res
|
# Res
|
||||||
image_center = ImageTk.PhotoImage(Image.open('res/logo/main.png'))
|
image_center = ImageTk.PhotoImage(Image.open('res/logo/main.png'))
|
||||||
@@ -70,10 +69,10 @@ def main():
|
|||||||
canvas_pong.place(x = 2, y = 2)
|
canvas_pong.place(x = 2, y = 2)
|
||||||
canvas_osu = tk.Canvas(win, width = 400, height = 300, bd = 0, highlightthickness = 0, relief = 'ridge', bg = color.LEVEL_1)
|
canvas_osu = tk.Canvas(win, width = 400, height = 300, bd = 0, highlightthickness = 0, relief = 'ridge', bg = color.LEVEL_1)
|
||||||
canvas_osu.place(x = 404, y = 2)
|
canvas_osu.place(x = 404, y = 2)
|
||||||
canvas_space = tk.Canvas(win, width = 400, height = 300, bd = 0, highlightthickness = 0, relief = 'ridge', bg = color.LEVEL_1)
|
|
||||||
canvas_space.place(x = 2, y = 304)
|
|
||||||
canvas_fall = tk.Canvas(win, width = 400, height = 300, bd = 0, highlightthickness = 0, relief = 'ridge', bg = color.LEVEL_1)
|
canvas_fall = tk.Canvas(win, width = 400, height = 300, bd = 0, highlightthickness = 0, relief = 'ridge', bg = color.LEVEL_1)
|
||||||
canvas_fall.place(x = 404, y = 304)
|
canvas_fall.place(x = 2, y = 304)
|
||||||
|
canvas_space = tk.Canvas(win, width = 400, height = 300, bd = 0, highlightthickness = 0, relief = 'ridge', bg = color.LEVEL_1)
|
||||||
|
canvas_space.place(x = 404, y = 304)
|
||||||
|
|
||||||
# Logo
|
# Logo
|
||||||
win.iconbitmap('res/logo/main.ico')
|
win.iconbitmap('res/logo/main.ico')
|
||||||
|
|||||||
Reference in New Issue
Block a user