lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] wxmsw-2.9.0: wxSpinCtrl text alignment changed


From: Vadim Zeitlin
Subject: Re: [lmi] wxmsw-2.9.0: wxSpinCtrl text alignment changed
Date: Thu, 7 May 2009 19:37:52 +0200

On Thu, 07 May 2009 15:50:50 +0000 Greg Chicares <address@hidden> wrote:

GC> Formerly, text in a spincontrol was always left-aligned by default.
GC> Now, with wx-2.9.0, the default has changed (for msw at least):
GC> 
GC> http://docs.wxwidgets.org/trunk/classwx_spin_ctrl.html
GC> | wxALIGN_RIGHT:
GC> | Same as wxTE_RIGHT for wxTextCtrl: the text is right aligned (this is the 
default).
GC> 
GC> Isn't that an unnatural default for msw? For instance, the picture
GC> of a spincontrol here:
GC>   http://msdn.microsoft.com/en-us/library/bb759889(VS.85).aspx
GC> (following "sometimes referred to as a spinner control") shows
GC> left alignment. So does ms's "Control Spy" program 'Up-Down.exe'.
GC> So do most or all of the "number of copies" spincontrols here:
GC>   http://images.google.com/images?q=print%20dialog%20windows
GC> 
GC> If this change really is intentional, I'd recommend at least
GC> mentioning it in 'docs/changes.txt'.

 Hello,

 It was indeed intentional but now you make me doubt the wisdom of it. It
seemed natural to use right alignment for a control which always contains
numbers and I still think it wouldn't really be shocking for the users but
the argument of being compatible with the native control by default as well
as blending with the standard platform dialogs is a strong one as well. So
finally I think this change should indeed be reverted... but I'll ask about
it on wx-dev, just to check if anybody else has different thoughts about
it.

 Thanks,
VZ

reply via email to

[Prev in Thread] Current Thread [Next in Thread]