Hello Benjamin, Thank you for this idea. When we tried this approach, we discovered that the <label> and <edit> controls use different font stretching/ scaling algorithms. If we render identical text in a <label> and an <edit>, in some cases the label's display of the text will be one line longer than edit's and in other cases the situation will be reversed.
Any ideas on how to compensate for this? Thank you, Ben On Jan 30, 9:59 am, "Benjamin [API Guru]" <[email protected]> wrote: > You can use a hidden edit with the same attributes (font, size, bold, > italic, ...) as your label to calculate the size and then apply the > found height from idealBoundingRect to the label. > > Best regards, > Benjamin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Desktop Developer Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Desktop-Developer?hl=en -~----------~----~----~----~------~----~------~--~---
