Unfortunately, setting the Fusion stylesheet hasn't made anything better. (QFrame(), "Tab " + str(tabIndex))Īpologies for the delay in trying this out. I have tried populating the tabs with widgets, but it did not have any effect, so I removed them from the example.įrom PyQt5.QtWidgets import QApplication, QDialog, QGridLayout, QLabel, QTabWidget, QFrame, QScrollArea ![]() Is this a bug with Qt on Mac? Or is there a property I need to set in order to make these arrows appear in MacOS? It has no arrows, and if the number of tabs exceeds the width available on the display, then there is no way (that I've found) to be able to view tab 29, at all. However the result on Mac looks like this. ![]() The arrows make it possible to view all the tabs. My reproducible example code is below, adding 30 tabs to a QTabWidget. In my application that needs to work on Windows and Mac, I've had a problem with QTabWidget() where it doesn't show the scroll arrows that would be required to see some of the tabs, if the tab headers exceeds the Window size.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |