alignement

Questions about wxWidgets running on MS.NET, mono or Portable.NET ? Ask it here !
Post Reply
xml
Earned a small fee
Earned a small fee
Posts: 13
Joined: Fri Oct 22, 2004 1:21 pm

alignement

Post by xml » Sun Jan 02, 2005 12:44 pm

Hi,
1) whats the difference between Alignment.wxALIGN_CENTER and Alignment.wxALIGN_CENTRE
2) Alignment.wxALIGN_CENTER_VERTICAL doesnt work correctly because it centers the text horizontally

leio
Can't get richer than this
Can't get richer than this
Posts: 802
Joined: Mon Dec 27, 2004 10:46 am
Location: Estonia, Tallinn
Contact:

Post by leio » Wed Jan 05, 2005 12:23 pm

1) There is none. It's probably an alias due to British English and American English differences.
2) It depends what are you centering maybe. Not sure what are you aligning.
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD

Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/

xml
Earned a small fee
Earned a small fee
Posts: 13
Joined: Fri Oct 22, 2004 1:21 pm

Post by xml » Wed Jan 05, 2005 12:50 pm

im trying to align the text contained in a wx.StaticText

Post Reply