Sie sind nicht angemeldet.

1

Donnerstag, 28. Oktober 2010, 15:20

scale text in tekstfield

Hi!
I have question. it is possible that the text in the textfield was scaled ? like a plugin or hotspot? *blink*

I not found the answer in the forum. Thanks for help *attention*

2

Sonntag, 31. Oktober 2010, 14:39

I have the same (or similar) problem to solve right now.
I' ve also checked out the forums but nothing found.
What I want to do is to dynamically scale the font-size in the textfield perpendicular to the area width.
I' ve managed to dynamically scale the width, height & position of the textifield (using % values), when resizing the browser, but not the font-size.

Thanks in advance for any suggestions

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

3

Sonntag, 31. Oktober 2010, 14:42

i had the textfield size in % and that made also the text resize on brouwserscreen changes..

it was parent to something else.. aswell

Hope it helps,
Tuur *thumbsup*

4

Sonntag, 31. Oktober 2010, 15:15

Tuur thanx for the fast response, parenting doesn' t seem to work for resizing.
(My width & height are also in % values)
could you post an example ?

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

5

Sonntag, 31. Oktober 2010, 16:42

not yet ready for publishing...
*mellow*

i had this map that was like 40% width and prop..
the spots showed a textfield with thumb onover... that were child of the spot..

that zoomed the text also when i make the brouwser screen bigger...

But i changed that back..

Tuur *thumbsup*

Anoril

Schüler

Beiträge: 69

Wohnort: Paris, France

Beruf: Game Developer and Photographer

  • Nachricht senden

6

Montag, 15. August 2016, 20:38

Hello!

I'm still having this king of issue (1.19-pre5) : I can't resize my text in HTML5 using textfields (I did not tried Flash and I'm not interrested in Flash anymore ;) ).

I had to make use of an external HTML page to be displayed using CSS trick "font-size: 18vm" (with "vm" not yet accepted by all browser ^_^' ). Actually, "vm" is not understood by KRPano even when let managed by the browser (weird to me actually...)

So, if you have an esay step to get my Textfield content scaled to my viewport, I would greatly appreciate! :)

Thanks all,

Paul
« Quidquid latine dictum sit, altum sonatur »
Pentax stuff.

Ähnliche Themen