[PyQt] QTextEdit 80 chars wide

Mads Ipsen madsipsen at gmail.com
Thu Jan 27 08:29:57 GMT 2011


Hi,

Suppose I have a QTextEdit set up with a monospace font. How do I make 
the text edit field exactly 80 chars wide? E.g. similar to a command 
prompt window.

Best regards,

Mads

-- 
+--------------------------------------------------------------+
| Mads Ipsen, Scientific developer                             |
+-------------------------------+------------------------------+
| QuantumWise A/S               | phone:          +45-29716388 |
| Lersø Parkallé 107            | www:     www.quantumwise.com |
| DK-2100 Copenhagen Ø, Denmark | email:  mads.ipsen at gmail.com |
+-------------------------------+------------------------------+




More information about the PyQt mailing list