Skip to content

Commit

Permalink
Fix visible 'hidden' scrollbar when content frame is shorter than con…
Browse files Browse the repository at this point in the history
…tainer (#195)

* replace lift, lower with pack, pack_forget

* bump version number to 1.7.0.2
  • Loading branch information
israel-dryer authored Feb 8, 2022
1 parent d0c77f1 commit 566aa6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

setuptools.setup(
name="ttkbootstrap",
version="1.7.0.1",
version="1.7.0.2",
author="Israel Dryer",
author_email="[email protected]",
description="A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.",
Expand Down
4 changes: 2 additions & 2 deletions src/ttkbootstrap/scrolled.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,11 +383,11 @@ def disable_scrolling(self):

def hide_scrollbars(self):
"""Hide the scrollbars."""
self.vscroll.lower(self)
self.vscroll.pack_forget()

def show_scrollbars(self):
"""Show the scrollbars."""
self.vscroll.lift(self)
self.vscroll.pack(side=RIGHT, fill=Y)

def autohide_scrollbar(self):
"""Toggle the autohide funtionality. Show the scrollbars when
Expand Down

0 comments on commit 566aa6f

Please sign in to comment.