Skip to content

Commit

Permalink
Height changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oskros committed Oct 17, 2020
1 parent deb4eb1 commit fd49ec8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def __init__(self):
self.clickable = True
self.root.resizable(False, False)
self.root.geometry('+%d+%d' % other_utils.safe_eval(self.cfg['DEFAULT']['window_start_position']))
self.root.config(borderwidth=2, height=362, width=240, relief='raised')
self.root.config(borderwidth=2, height=364, width=240, relief='raised')
# self.root.wm_attributes("-transparentcolor", "purple")
self.root.wm_attributes("-topmost", self.always_on_top)
self.root.focus_get()
Expand Down Expand Up @@ -332,7 +332,7 @@ def toggle_tab_keys_global(self):
def toggle_drops_frame(self, show=None):
if show is None:
show = self.drops_caret.active
drops_height = 174
drops_height = 175
if show:
self.root.update()
self.root.config(height=self.root.winfo_height()+drops_height)
Expand Down
4 changes: 2 additions & 2 deletions tabs/suboptions/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def toggle_button(self, attr, first=False):
self.main_frame.btn_frame.forget()

elif attr.lower() == 'show_drops_section':
btn_height = 23
btn_height = 22
if val:
self.main_frame.root.update()
self.main_frame.root.config(height=self.main_frame.root.winfo_height() + btn_height)
Expand All @@ -50,7 +50,7 @@ def toggle_button(self, attr, first=False):
self.main_frame.drops_frame.forget()

elif attr.lower() == 'show_advanced_tracker':
btn_height = 23
btn_height = 22
if val:
self.main_frame.root.update()
self.main_frame.root.config(height=self.main_frame.root.winfo_height() + btn_height)
Expand Down

0 comments on commit fd49ec8

Please sign in to comment.