from carlo email:- [EMAIL PROTECTED]
check out my site:-
http://myhead1967.tripod.com/cd1/
-------Original Message-------
From: Teo
Date: 11/24/2008 3:57:43 AM
To: [email protected]
Subject: Re: How can I get the offsetHeight of ?
I think i know what you mean. From what i remember the label height doesn't
automatically change depending on the innertext.
Anyway, if the height property isn't relevant the only solution i can think
of is some kind of estimation based on the text length...
Thanks,
Teo
On Sun, Nov 23, 2008 at 3:13 PM, Kevin <[EMAIL PROTECTED]> wrote:
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
--
Teo (a.k.a. Teominator a.k.a. Teodor Filimon)
site www.teodorfilimon.com | blog www.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
-~----------~----~----~----~------~----~------~--~---
<<inline: agreement.gif>>
