Sie sind nicht angemeldet.

1

Freitag, 8. April 2022, 01:44

Pixelwidth of text

Hi all,

may be a stupid question:
how to get pixelwidth of a text-hotspot after autosize incl. padding left/right?
The same hotspot has dynamic seted html and css font depending on tour situation.
so each time the "real" hotspot width will change.

greetz
mil

2

Freitag, 8. April 2022, 08:55

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »indexofrefraction« (8. April 2022, 10:06)


3

Freitag, 8. April 2022, 10:46

try the onautosized event

Was my first atempt .. but nope .. seams like text hotspot doesn't have the pixelwidth property.

4

Freitag, 8. April 2022, 14:02

ok .. simple ask for width (not pixelwidth) after a small delayedcall !!