Robin,
One more for my 2.9.3 wish list.
Werner
numctrl.patch (675 Bytes)
maskededit.patch (1.43 KB)
···
Subject:
Re: [wxPython-users] masked numctrl diff between 2.8 and
2.9
Date:
Tue, 13 Sep 2011 11:43:43 +0200
From:
werner
Reply-To:
To:
wbruhin@free.frwxpython-users@googlegroups.comwxpython-users@googlegroups.com
Did some more testing/searching on this and the only way I could find to fix it is to use wx.TE_RIGHT style flag for the numctrl. As per doc this is only available in wxMSW and wxGTK2 (can't test this at the moment).
Attached are two patches for this.
numctrl - add the style if on wxMSW, I guess one should add wxGTK2 here too.
maskededit - change the char "M" to "9" if it is a numctrl to have better space/size calculation when using useFixedWidthFont=False
Patches are against wxPython 2.9.2.4
Would be great if someone on Mac and or GTK2 platform could check what is the status of masked.numctrl on there.
Werner
-- To unsubscribe, send email to or visit
wxPython-users+unsubscribe@googlegroups.comhttp://groups.google.com/group/wxPython-users?hl=en