[Python-modules-team] Bug#764761: pyqt4-dev-tools: fontMetrics.elidedText performs poorly on '\t' in QLabel.

Dmitry Shachnev mitya57 at gmail.com
Sat Oct 18 07:13:08 UTC 2014


On Fri, 17 Oct 2014 21:48:45 +0200, Enno wrote:
> Segfault?  Well maybe I should add the full code:

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764761#15

> The width of the tab is 80px according to Qt documentation, but this is
> not consistent with my experience, in my configuration in this QLabel it
> seems to be about 56px wide.

I think 80px is *maximum* tab width, and real tab width will be
(− width of previous text) mod (80px).

Anyway, if it is less than the documented value, I think it is not
a bug.

Anyway, this should not stop you from discussing it with upstream :)

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20141018/f720dff5/attachment.sig>


More information about the Python-modules-team mailing list