Skip to content

Commit 203585f

Browse files
committed
minor gui edit
1 parent adfd642 commit 203585f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def __init__(self, *args, **kwargs):
2020
self.root = self.winfo_toplevel()
2121
self.root.option_add("*Font", "serif 10 bold")
2222
self.root.title(" ".join((APPNAME, VERSION, "| Main")))
23+
self.root.resizable(0,0)
2324
self.root.bind('<Key>', self.__keys)
2425

2526
# Menu
@@ -100,6 +101,7 @@ def __plot(self):
100101
except: pass
101102
self.plot_root = Toplevel(self)
102103
self.plot_root.title(" ".join((APPNAME, VERSION, "| Plot")))
104+
self.plot_root.resizable(0,0)
103105
draw_figure(self.plot_root, self.pagerank)
104106
self.root.after(1, lambda : self.root.focus_force())
105107

src/report.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ def __init__(self, *args, **kwargs):
88
super().__init__(*args, **kwargs)
99
self.root = self.winfo_toplevel()
1010
self.root.title(" ".join((APPNAME, VERSION, "| Report")))
11+
self.root.resizable(0,0)
1112
self.items= None
1213
headers = ('Page', 'Rank', 'PageRank Value', 'Incoming')
1314
self.t = Scale(self, from_=0, to=1, label='n-th iteration',

0 commit comments

Comments
 (0)