Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » CExtButton multiline center : bug ? Collapse All
Subject Author Date
Yves Berquin Dec 20, 2006 - 4:45 AM

If you use a CExtButton with the multiline and center styles (BS_MULTILINE|BS_CENTER), and you add a text in 2 lines (with a \n in the middle), the text is not properly centered: both lines start at the same X.
It is properly centered when using the Win32 api: both lines are centered independently in the button.

Technical Support Dec 21, 2006 - 11:57 AM

Thank you for reporting the bug. We fixed it and now the button text under all the themes is aligned properly. The bug fix will be available in the next release.