monospaced font in MS Windows with wxpython

Emile van Sebille emile at fenx.com
Fri Sep 11 18:28:35 EDT 2015


On 9/11/2015 3:16 PM, Javier wrote:
> I am trying to use a monospaced font (preferably small) in MS Windows
> with wxpython.  I have tried
>
> txtctrl.SetFont(wx.Font(10, wx.MODERN, wx.NORMAL, wx.NORMAL, False, u'Consolas'))
>
> but no success, I still get a proportional font.
>


You may also want to try posting to http://www.wxpython.org/maillist.php 
as they're more wxpython focused.

Emile





More information about the Python-list mailing list