Yes, after I set the innerText of the label with wordWrap = true, I
want to find the height of the label.

On Nov 23, 5:32 pm, Teo <[EMAIL PROTECTED]> wrote:
> Or do you mean finding out the height that would be needed to show some
> data?
>
>
>
> On Sun, Nov 23, 2008 at 11:32 AM, Teo <[EMAIL PROTECTED]> wrote:
> > Hi,
>
> > have you tried height?
>
> > Thanks,
> > Teo
>
> > On Fri, Nov 21, 2008 at 10:41 AM, Kevin <[EMAIL PROTECTED]> wrote:
>
> >> Dear all,
> >>    In my gadget, I want to create a list of label and fill data
> >> dynamically. Since the height of each label is depending on the data
> >> length, I cannot arrange them in a list. How can I retrieve the height
> >> of the label? I have tried to use the offsetHeight attribute, but it
> >> always return 0
>
> > --
> > Teo (a.k.a. Teominator a.k.a. Teodor Filimon)
> > sitewww.teodorfilimon.com| blogwww.teodorfilimon.blogspot.com
> > GMT +2
>
> --
> Teo (a.k.a. Teominator a.k.a. Teodor Filimon)
> sitewww.teodorfilimon.com| blogwww.teodorfilimon.blogspot.com
> GMT +2
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to