summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/tabs.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-05-25 15:45:21 +0200
committeremkael <emkael@tlen.pl>2019-05-25 15:45:21 +0200
commit4815003636e14df7098946bfe6f95877c5b02235 (patch)
treeb10986056e2d4796858c1f59dc4764f8a10cc28b /jfr_playoff/gui/tabs.py
parentb5a64aa620bda92cc70a31e272b60a042931a641 (diff)
Team alias settings GUI
Diffstat (limited to 'jfr_playoff/gui/tabs.py')
-rw-r--r--jfr_playoff/gui/tabs.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py
index 691bb6c..94348b9 100644
--- a/jfr_playoff/gui/tabs.py
+++ b/jfr_playoff/gui/tabs.py
@@ -6,7 +6,7 @@ import tkinter as tk
from tkinter import ttk
import tkFileDialog as tkfd
-from .frames import TeamSettingsFrame
+from .frames import TeamSettingsFrame, TeamAliasFrame
class PlayoffTab(ttk.Frame):
def __init__(self, master):
@@ -101,9 +101,10 @@ class TeamsTab(PlayoffTab):
settingsFrame.grid(row=0, column=0, sticky=tk.N+tk.E+tk.S+tk.W)
settingsFrame.columnconfigure(2, weight=1)
previewFrame = tk.Frame(container, bg='red')
- previewFrame.grid(row=0, column=1, sticky=tk.N+tk.E+tk.S+tk.W)
- aliasFrame = tk.Frame(container, bg='green')
- aliasFrame.grid(row=1, column=0, columnspan=2,
+ previewFrame.grid(row=0, column=1, rowspan=2,
+ sticky=tk.N+tk.E+tk.S+tk.W)
+ aliasFrame = TeamAliasFrame(container)
+ aliasFrame.grid(row=1, column=0,
sticky=tk.N+tk.E+tk.S+tk.W)
container.columnconfigure(0, weight=2)
container.columnconfigure(1, weight=3)