Re: monospaced font in MS Windows with wxpython

2015-09-12 Thread Laura Creighton
In a message of Fri, 11 Sep 2015 22:16:36 -, Javier writes: >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 f

Re: monospaced font in MS Windows with wxpython

2015-09-11 Thread Javier
The font I posted before was actually monospaced. I was just putting the definition in the wrong place All solved now. Sorry for the noise. > txtctrl.SetFont(wx.Font(10, wx.MODERN, wx.NORMAL, wx.NORMAL, False, > u'Consolas')) -- https://mail.python.org/mailman/listinfo/python-list

Re: monospaced font in MS Windows with wxpython

2015-09-11 Thread Emile van Sebille
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

monospaced font in MS Windows with wxpython

2015-09-11 Thread Javier
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. -- https://mail.python.org/mailman/listinfo/python-list