ScrolledFrame doesn’t seem to work as aspected
See original GitHub issueTo test the ScrolledFrame widget i’ve wrote the follow code:
from ttkbootstrap import *
from ttkbootstrap.scrolled import ScrolledFrame
class MainView(Window):
def __init__(self):
super(MainView, self).__init__()
sf = ScrolledFrame(self)
for i in range(20):
Label(sf, text=f"Label {i}").pack()
sf.pack(fill=BOTH, expand=True)
if __name__ == "__main__":
app = MainView()
app.mainloop()
and this was the output: as you can see the Scrollbar wasn’t showing the right proportion.
I used
- ttkbootstrap 1.5.1
- Python 3.8.3
- Windows 10
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
DirectOptionMenu's "cancelFrame" doesn't work ... - GitHub
Simply put, if a DirectOptionMenu is placed on the canvas of a DirectScrolledFrame, one can no longer click outside of the menu to...
Read more >Scrollbar widgets won't work when laid out in a grid
So when I use .grid() to layout the scrollbars, the space under the vertical scrollbar does indeed appear as I'd expect it to,...
Read more >Scrolling Scrollers via the Mouse-wheel - Panda3D
It can be quite convenient to move around scrollable areas via the mouse-wheel. And indeed, this can be achieved via binding a given ......
Read more >Scrollutil Programmer's Guide
The scrollutil::scrollableframe widget is similar to BWidget ScrollableFrame and iwidgets::scrolledframe. However, unlike these widgets, which use a canvas ...
Read more >1350925 - [css-grid] A grid with overflow:auto in limited height ...
Actually, both scrollbars appear, then you continue resizing, and the horizontal scrollbar disappears. Expected results: No horizontal scrollbar should ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, it works now. Thanks for fixing it!
@israel-dryer I updated and tested the same code and now it works. You are doing a great job around tkinter!