Richard L Rosenheim
12/30/2004 6:35:00 AM
Just a guess, but it sounds like the text is being displayed as left and
right justified.
Richard Rosenheim
"cae" <cadilhac@gmail.com> wrote in message
news:1103641335.553594.21870@c13g2000cwb.googlegroups.com...
> Hi,
>
> another very strange behaviour with ellpisis and the DrawString method.
> If I display the string "This is a string" with no ellipsis, there is a
> certain gap between words. Let's say 6 pixels between "This" and "is".
> If the bounding rectangle is smaller and ellipsis appear, the gap
> between thoses 2 words becomes 5 pixels. If I make the rectangle even
> smaller, the gap becomes 4 pixels.
>
> It means that while the user is resizing the bounding rectangle, the
> string is displayed like shaking because of this changing gap between
> words.
>
> Did I miss something ? Is it a normal new behaviour in the way GDI+
> works, or does it have simply a bug ?
>
> Thanks for your help
>
> Herve
>