QTabWidget rendering issue?

Matic Kukovec kukovecmatic at hotmail.com
Sat Apr 27 11:59:41 BST 2024


Hi guys,

Specs:

  *
Windows 10 x64
  *
Python 3.12
  *
PyQt 6.6.1

I have a QTabWidget inside a layout and when initial layout is built not all of tabs are rendered.
The selected tab is rendered as the first tab, but when I select a different tab, all the tabs render correctly,
here is an example:
[cid:3f769857-0445-4ef3-b956-f9e881d7a880]
As you can see, when the initial layout is rendered the 'systick.c' tab is shown as the first, but in reality
the 'main.c' tab should be first, but it only appears after I click any non-current tab.

Any idea of where the problem is?

Regards,
Matic

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240427/06f1cfba/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/gif
Size: 38763 bytes
Desc: image.png
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240427/06f1cfba/attachment-0001.gif>


More information about the PyQt mailing list