Package wx :: Package lib :: Module rightalign
[frames | no frames]

Module wx.lib.rightalign

Some time ago, I asked about how to right-align wxTextCtrls. Answer was that it is not supported. I forgot it.

Just a week ago, one of my clients asked me to have numbers right aligned. (Indeed it was that numbers MUST be right aligned).

So the game begun. Hacking, hacking, ...

At last, i succeed. Here is some code that someone may find useful. ubRightTextCtrl is right-aligned when you are not editing, but left-aligned if it has focus.

Hope this can help someone, as much as this list helps me.

Josu Oyanguren Ubera Servicios Informaticos.

P.S. This only works well on wxMSW.


Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:55:39 2009