From: "Rochi Febo Dommarco" <[EMAIL PROTECTED]>
> on the change of text dimension from the browser I would like to rearrange
my layers so that the all the text in the layers is visible. I searched in
the newsgroups but I didn't find what event, if any, is fired in this case.
Does the event exists? How the problem can be solved?
Had a similar issue last year. Alas there is nothing that I could find
relating to the true font size. Both browsers will initially render the page
as you set the size, and will store the size in the style object. However,
if the user changes the font from the menubar or has it preset to ignore
fonts on the page neither browser updates any of the javascript accessible
variables.
I had a client that wanted a Navigation tool to handle the user resizing the
font. It took several months for them understand that unless we rewrote the
browser we could only accommodate a large font, which could then be
downgraded.
However, with DynAPI it may be possible for you to use the
myLayer.getContentHeight() and myLayer.getContentWidth() within the layer
(myLayer or whatever you've called it) and resize according to the
(hopefully) new content dimensions.
Barbie.
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help