[Interest] sizeHint for delegates not wqorking
Frank Rueter | OHUfx
frank at ohufx.com
Wed Jul 4 01:03:56 CEST 2018
Ah, thanks a lot!
That did indeed fix it.
On 3/07/18 11:56 PM, Francis Herne wrote:
> On Tuesday, 3 July 2018 03:11:42 BST Frank Rueter | OHUfx wrote:
>> Hi all,
>> I am having trouble controlling my table view’s column sizes.
>> I thought implementing the delegate’s sizeHint was a way to do this but
>> it won’t work for me.
>> Can somebody please point out what I’m missing?
> You must also set an appropriate resize mode for the view.
> to MyView.__init__ should solve your problem.
> See http://doc.qt.io/qt-5/qheaderview.html#ResizeMode-enum
> Interest mailing list
> Interest at qt-project.org
More information about the Interest