'Making tkinter notebook tabs shrink to fit or adding scrolling to tabs
How can I add scrolling to the tabs of the tkinter notebook? By default notebooks will just expand when more tabs are added but that can lead to errors for apps where the user can add them. I understand there are answers to this question but when tested they showed errors I couldn't fix on my own. I personally liked this answer best (The look and feel of it) but found many errors that despite days of going through I couldn't fix. If this not possible how would I instead add shrinking of tabs? I have heard people say that it automatically shrinks but when I try to do this it doesn't shrink for me. Any ideas? Can you just limit the size the notebook can take?
Solution 1:[1]
You have to use a frame. Put it in a frame and turn pack_propogate to false for the frame
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | TRCK |