summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/frames/visual.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/gui/frames/visual.py')
-rw-r--r--jfr_playoff/gui/frames/visual.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/jfr_playoff/gui/frames/visual.py b/jfr_playoff/gui/frames/visual.py
index 03f9a14..0762e37 100644
--- a/jfr_playoff/gui/frames/visual.py
+++ b/jfr_playoff/gui/frames/visual.py
@@ -201,6 +201,7 @@ class BoxPositionFrame(RepeatableFrame):
self.vertical = tk.IntVar()
self.horizontal = tk.IntVar()
self.matchBox = MatchList(self, self.match)
+ self.matchBox.configure(width=20)
self.matchBox.grid(row=0, column=0)
(ttk.Label(self, text=' w pionie:')).grid(row=0, column=1)
(tk.Spinbox(
@@ -347,8 +348,12 @@ class PositionStyleFrame(RepeatableFrame):
self.name = tk.StringVar()
self.description = tk.StringVar()
+ self.columnconfigure(1, weight=1)
+ self.columnconfigure(5, weight=1)
+
(ttk.Label(self, text='Styl:')).grid(row=0, column=0)
- (ttk.Entry(self, textvariable=self.name)).grid(row=0, column=1)
+ (ttk.Entry(self, textvariable=self.name)).grid(
+ row=0, column=1, sticky=tk.W+tk.E)
(ttk.Label(self, text='Pozycje koĊ„cowe:')).grid(row=0, column=2)
self.positionBtn = TeamSelectionButton(
@@ -358,7 +363,8 @@ class PositionStyleFrame(RepeatableFrame):
self.positionBtn.grid(row=0, column=3)
(ttk.Label(self, text='Opis w legendzie:')).grid(row=0, column=4)
- (ttk.Entry(self, textvariable=self.description)).grid(row=0, column=5)
+ (ttk.Entry(self, textvariable=self.description)).grid(
+ row=0, column=5, sticky=tk.W+tk.E)
self.setValue({})