Improved style of main menu, configuration menu, and base menu

This commit is contained in:
Khopa
2018-08-08 21:22:00 +02:00
parent 14cd54668e
commit 1b2ad5b419
6 changed files with 92 additions and 51 deletions

View File

@@ -1,6 +1,6 @@
from tkinter import *
from game.game import *
from .styles import BG_COLOR
from .styles import BG_COLOR,BG_TITLE_COLOR
class Window:
image = None
@@ -24,9 +24,9 @@ class Window:
self.frame.grid_columnconfigure(1, weight=1)
self.frame.grid_rowconfigure(0, weight=1)
self.left_pane = Frame(self.frame)
self.left_pane = Frame(self.frame, bg=BG_TITLE_COLOR)
self.left_pane.grid(row=0, column=0, sticky=NSEW)
self.right_pane = Frame(self.frame)
self.right_pane = Frame(self.frame, bg=BG_COLOR)
self.right_pane.grid(row=0, column=1, sticky=NSEW)
self.tk.focus()