Ed Leafe wrote:
> On Nov 18, 2008, at 12:26 AM, johnf wrote:
> 
>> Since dMaskTextBox does not have 'FontSize' as an attrib.  The
>> increase/decrease font size does not work.
> 
>       It does have FontSize as a *property*. The problem is that due to the  
> different internals of the masked.TextCtrl, it is not working correctly.
> 
>> Actually I wish someone would help me / teach me about how the fonts  
>> are
>> suppose to work.  I think is has to do with dPemMixinBase.py but I  
>> not sure.
>> You guys could help here.
> 
> 
>       The main stuff is in dPemMixin.py. Look at the various font property  
> definitions, and then review the getter/setter code to see what is  
> going on under the hood.

To add to Ed's reply, the default font a control uses comes from the parent, 
and this 
is handled in the wx layer. With some non-core wx controls, this default is 
broken, I 
think because the author of the control neglected to consider it.

So Dabo assumes that the default font is what is desired, which is the behavior 
you 
are seeing with the masked textbox.

Paul



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to