QMidArea Tab options?
-
Hello!
I'm developing a small application that contains a QMdiArea in Tabbed Mode.
I want the tabBar to stay on top or north, and for its tabs to have a specific width and stack to the left of the area.
Let me explain: If there's only one SubWindow, its tab occupies the entire area. When I add another SubWindow, the tabs now occupy 50/50, and so on. However, this behavior is not what I desire.
How can I achieve this?
It's worth mentioning that I'm using PyQt6 for development. -
Hi,
self.mdiAreaTabBar = self.findChild(QTabBar)
typing.cast(QTabBar, self.mdiAreaTabBar).setExpanding(False)