summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/tabs.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-06-06 15:33:02 +0200
committeremkael <emkael@tlen.pl>2019-06-06 15:33:02 +0200
commitd6ff199aca6947f4772e8946db5f8df8b041e354 (patch)
treed191523ec7e0384a98da7e16b473fba900795b58 /jfr_playoff/gui/tabs.py
parent0335f4b6cd470ffd27930a4b08596a15ea4c1137 (diff)
Visual settings GUI
Diffstat (limited to 'jfr_playoff/gui/tabs.py')
-rw-r--r--jfr_playoff/gui/tabs.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py
index 619da8d..ceda7a2 100644
--- a/jfr_playoff/gui/tabs.py
+++ b/jfr_playoff/gui/tabs.py
@@ -8,9 +8,10 @@ import tkFileDialog as tkfd
import tkMessageBox as tkmb
from .frames import getIntVal
-from .frames.team import *
from .frames.network import *
+from .frames.team import *
from .frames.translations import *
+from .frames.visual import *
from ..data import PlayoffData
from ..db import PlayoffDB
@@ -220,6 +221,13 @@ class VisualTab(PlayoffTab):
def title(self):
return 'Wygląd'
+ def renderContent(self, container):
+ self.settingsFrame = VisualSettingsFrame(container)
+ self.settingsFrame.pack(side=tk.TOP, fill=tk.BOTH, expand=True)
+
+ self.positionFrame = BoxPositionsFrame(container, vertical=True)
+ self.positionFrame.pack(side=tk.TOP, fill=tk.BOTH, expand=True)
+
class StyleTab(PlayoffTab):
@property
def title(self):