HI,
If I add a simple text control to a frame without setting the font. When I
type something into the control it uses a font. If I create static text and
don't provide a font it use a font. So I'm wondering how does wxPython
determine what the default font should be?
···
--
John Fabiani
John,
johnf wrote:
HI,
If I add a simple text control to a frame without setting the font. When I type something into the control it uses a font. If I create static text and don't provide a font it use a font. So I'm wondering how does wxPython determine what the default font should be?
There are some threads on this - early this year "Default font/colors" is one.
Regarding the masked controls font question on the Dabo list (my response does not show, so here it comes again).
useFixedWidthFont
By default, masked edit controls use a fixed width font, so that
the mask characters are fixed within the control, regardless of
subsequent modifications to the value. Set to False if having
the control font be the same as other controls is required. (This is
a control-level parameter.)
Hope this helps
Werner
Please email Ed or Paul and they can get the list fixed for you.
The control is using
useFixedWidthFont=False
The problem appears to stem from the fact that 'self.Font' is resolving to the
wx.Font property, and not the
dPemMixin.Font property.
···
On Tuesday 18 November 2008 08:30:11 am Werner F. Bruhin wrote:
John,
johnf wrote:
> HI,
> If I add a simple text control to a frame without setting the font. When
> I type something into the control it uses a font. If I create static
> text and don't provide a font it use a font. So I'm wondering how does
> wxPython determine what the default font should be?
There are some threads on this - early this year "Default font/colors"
is one.
Regarding the masked controls font question on the Dabo list (my
response does not show, so here it comes again).
useFixedWidthFont
By default, masked edit controls use a fixed width font, so that
the mask characters are fixed within the control, regardless of
subsequent modifications to the value. Set to False if having
the control font be the same as other controls is required. (This is
a control-level parameter.)
Hope this helps
Werner
--
John Fabiani