Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96371 > unrolled thread

monospaced font in MS Windows with wxpython

Started byJavier <nospam@nospam.com>
First post2015-09-11 22:16 +0000
Last post2015-09-12 11:56 +0200
Articles 4 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  monospaced font in MS Windows with wxpython Javier <nospam@nospam.com> - 2015-09-11 22:16 +0000
    Re: monospaced font in MS Windows with wxpython Emile van Sebille <emile@fenx.com> - 2015-09-11 15:28 -0700
    Re: monospaced font in MS Windows with wxpython Javier <nospam@nospam.com> - 2015-09-12 00:35 +0000
    Re: monospaced font in MS Windows with wxpython Laura Creighton <lac@openend.se> - 2015-09-12 11:56 +0200

#96371 — monospaced font in MS Windows with wxpython

FromJavier <nospam@nospam.com>
Date2015-09-11 22:16 +0000
Subjectmonospaced font in MS Windows with wxpython
Message-ID<msvjs4$13a$1@speranza.aioe.org>
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.

[toc] | [next] | [standalone]


#96372

FromEmile van Sebille <emile@fenx.com>
Date2015-09-11 15:28 -0700
Message-ID<mailman.382.1442010617.8327.python-list@python.org>
In reply to#96371
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

[toc] | [prev] | [next] | [standalone]


#96378

FromJavier <nospam@nospam.com>
Date2015-09-12 00:35 +0000
Message-ID<msvrvq$g0a$1@speranza.aioe.org>
In reply to#96371
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'))

[toc] | [prev] | [next] | [standalone]


#96420

FromLaura Creighton <lac@openend.se>
Date2015-09-12 11:56 +0200
Message-ID<mailman.424.1442051764.8327.python-list@python.org>
In reply to#96371
In a message of Fri, 11 Sep 2015 22:16:36 -0000, 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 font.
>
>-- 
>https://mail.python.org/mailman/listinfo/python-list

wxpython has its own mailing lists where the response might be
better:  

http://www.wxpython.org/maillist.php

Laura

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web