[Bug 15352] TSLPatcher: rtf header should be centered, instead half outside window

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 10 16:07:54 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=15352





--- Comment #2 from Dylan Smith <dylan.ah.smith at gmail.com>  2008-10-10 16:07:53 ---
Created an attachment (id=16571)
 --> (http://bugs.winehq.org/attachment.cgi?id=16571)
richedit: Fixed centering and right align with word wrap disabled.

This fixes the text centering issue when word wrapping is disabled by centering
text to the window size, or left aligning the centered text if it is longer
than the window width.  This seems to be consistent with Windows when wrapping
is disabled on window creation with ES_AUTOHSCROLL and/or WS_HSCROLL.

I did notice another inconsistency when I tried to disable word wrapping with
EM_SETTARGETDEVICE.  For some reason this caused the native richedit control to
left align all text with word wrapping disabled.  Again, there is something I
am missing because native wordpad seems to use this message to disable
wrapping, and still leaves centered text aligned to the center of the window.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list