wxRichTextCtrl bizarre font vertical alignment problem
Tom Gersic
wxdev at teleologic.net
Fri Feb 2 22:13:09 PST 2007
Hi Julian,
I'm experiencing a bizarre problem with SetStyle() and parts of the text
getting raised up just a bit for some unknown reason. See the example in
this screenshot:
http://www.gersic.com/images/zuluscreenshot.jpg
note that the word "test" is somewhat higher than the word "blah". This
happens only when SetStyle() (or SetStyleEx()) is called on an area of
text, but it doesn't always happen. Just in certain situations. To be
honest, I can't seem to figure out exactly what causes it to happen and
what doesn't, but SetStyle() is always involved. And it usually happens
if SetStyle() is being called a second time on a bit of text that's
already had SetStyle() called on it (i.e. a change is made to the
style). But it doesn't always happen when calling SetStyle() more than
once...
Any ideas what could be causing this?
Thanks,
Tom
More information about the wx-dev
mailing list