You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, October 28th 2010, 3:20pm

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*

orbitlab

Trainee

Posts: 53

Location: Greece

  • Send private message

2

Sunday, October 31st 2010, 2:39pm

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

Sage

Posts: 3,120

Location: Netherlands

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

  • Send private message

3

Sunday, October 31st 2010, 2:42pm

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*
http://www.virtualtuur.com
Skype:studiotuur

orbitlab

Trainee

Posts: 53

Location: Greece

  • Send private message

4

Sunday, October 31st 2010, 3:15pm

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

Sage

Posts: 3,120

Location: Netherlands

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

  • Send private message

5

Sunday, October 31st 2010, 4:42pm

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*
http://www.virtualtuur.com
Skype:studiotuur

Anoril

Trainee

Posts: 69

Location: Paris, France

Occupation: Game Developer and Photographer

  • Send private message

6

Monday, August 15th 2016, 8:38pm

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.

Similar threads