QTableWidget/QTableView very slow resizing?

Maurizio Berti maurizio.berti at gmail.com
Sat Nov 19 03:55:10 GMT 2022

Without any other details it's impossible to help you.
Maybe you set some resize mode on the headers, or used a custom delegate
that requires too much time to repaint.

We need some actual code to start with, otherwise nobody could help you.


Il giorno ven 18 nov 2022 alle ore 20:02 Matic Kukovec <
kukovecmatic at hotmail.com> ha scritto:

> Hi guys,
> I have a QTableWidget (or QTableView) with 18 columns and about 500 rows.
> Now scrolling works without problems, but resizing it is painfully slow.
> Here is an animation showing the problem:
> I tried it with both a QTableWidget and a QTableView with a custom model,
> no difference in the slow resizing.
> Is there a way to fix this slow resizing?
> Thanks
> Matic

È difficile avere una convinzione precisa quando si parla delle ragioni del
cuore. - "Sostiene Pereira", Antonio Tabucchi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20221119/a166a9c4/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python_UsmbZVpji2.gif
Type: image/gif
Size: 214503 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20221119/a166a9c4/attachment-0001.gif>

More information about the PyQt mailing list