It was actually not a bug with the percent sign not being shown. It was Wordwrap that for some reason considered % being a good place to split a line (long filepath with %04d.exr at the end). On top of that I had fixed height cells so could not see the second row in the cell. When I turned of wordwrap all worked good.
Cheers, Erik On Sat, Sep 21, 2013 at 8:41 AM, Stefan Champailler <[email protected]>wrote: > Have you got a bit of code to show that bug ? It's quite difficult to > know exactly how it happens. > > Personnally I use QTableView and not QTableWidget. But there I've > encountered lots of issues but none of theses were bugs. It's just that > celle rendering is more complicated than it seems (well, for me :-)) > > Stefan > > > > > On 09/12/2013 12:56 PM, Erik Johansson wrote: > > PySide 1.1.2 and Qt 4.7.1 (Autodesk Maya 2012) if it helps. > > Cheers, > Erik > > > On Thu, Sep 12, 2013 at 11:45 AM, Erik Johansson <[email protected]> > <[email protected]>wrote: > > > Hi > > Percent sign in QTableWidget. I can not get it to show in the cell. The > string gets cut off. In the tooltip it is shown. > > I have tried converting it to unicode and str. Various encodings utf-8, > ascii. Escaping the % sign with %% and \% with no luck. > > Can someone help me out? Or have I hit some bug? > > Cheers, > Erik > > > > > _______________________________________________ > PySide mailing > [email protected]http://lists.qt-project.org/mailman/listinfo/pyside > > > -- > Timeo Danaos et dona ferentes > > > _______________________________________________ > PySide mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/pyside > >
_______________________________________________ PySide mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/pyside
