Table widget column width

32 views
Skip to first unread message

the.spar...@gmail.com

unread,
Aug 31, 2017, 5:01:59 PM8/31/17
to pyqtgraph
Hi all,

First of all thank you for this amazing library of modul, I am making the main library I use for data display!

I have one (dummy) question:

How can I make the width  of a column in the tableWidget bigger? 

I have entry that can be quite big and I am never able to see them all.

Also, the table seeems to not allow the resizing of the column by the user. Is there anything that can be done for that?

Cheers and thank you in advance for your help!

R.

Sebastian Höfer

unread,
Sep 1, 2017, 7:24:52 AM9/1/17
to pyqtgraph
Hello R,

well, the QTableView is actually a Qt-widget and not PyQtGraph specific. PyQtGraph just uses the Qt-library.
But that doesn't mean we don't know the answer. ;)

Have a look at the Qt-Dokumentation: 

QTableView inherits from QTableView, so it should provide the same function.


Cheers,
Sebastian

the.spar...@gmail.com

unread,
Sep 7, 2017, 9:37:01 PM9/7/17
to pyqtgraph
Thanks sebastian!

That was it!

CHeers,

R.
Reply all
Reply to author
Forward
0 new messages