Hmm, I still have not found an answer. My workaround is now to resize the
preview column via the resizeEvent but that feels really wrong.
E.g.:
    def resizeEvent(self, event):
        super().resizeEvent(event)
        self.setColumnWidths([30, 30, 100, self.parent().width()-160])


On Wed, Sep 21, 2022 at 8:26 AM Frank Rueter <fr...@ohufx.com> wrote:

> Hi all,
>
> one more question about QColumnView:
> I keep getting an extra column after the preview column if I resize the
> widget wide enough. Is this a bug or by design?
> https://gist.github.com/frueter/7d325cfc990703c866dd98807aabc73c
> [image: image.png]
>
> Cheers,
> frank
>
_______________________________________________
PySide mailing list
PySide@qt-project.org
https://lists.qt-project.org/listinfo/pyside

Reply via email to