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.

nelk

Intermediate

  • "nelk" started this thread

Posts: 358

Location: Paris

  • Send private message

1

Sunday, June 14th 2009, 11:20am

background only on the third line?

Hi,

I've set a background for a textfield plugin. But the background is only on the third lines and I've six lines of text.



I can put a height in my xml, the height is always resize to the third lines when I look in the loaded xml in editor.swf

Any idea ? Is this a bug ?
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

Graydon

Professional

Posts: 614

Location: Texas

Occupation: Industrial gas turbine services.

  • Send private message

2

Monday, June 15th 2009, 1:05am

can you show your textfield code?

I think there are some oddities to using the textfield if you change the "wordwrap" attribute to false and use any type of text-align values. I don't know if it's a bug, but I had some unexpected results when I played with it one time.

3

Monday, June 15th 2009, 4:45pm

Hi,

are you using the textfield plugin as distorted hotspot?
(the textfield plugin is not fully adapted for the usage as distorted hotspot at the moment)

best regards,
Klaus

nelk

Intermediate

  • "nelk" started this thread

Posts: 358

Location: Paris

  • Send private message

4

Monday, June 15th 2009, 5:12pm

are you using the textfield plugin as distorted hotspot?


Yes :-)

I tried with distored="false", and the background is normal
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

nelk

Intermediate

  • "nelk" started this thread

Posts: 358

Location: Paris

  • Send private message

5

Monday, June 15th 2009, 5:29pm

hum ...

this is working :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	<hotspot name="text_mont"
	         url="%SWFPATH%/plugins/textfield.swf"
	         keep="true"
	         ath="74" atv="-27.5"
	         zoom="false" distorted="true"
	         width="200" height="140"
	         scale="2" scalechildren="false" rotate="0"
	         rx="0" ry="0" rz="1.101993230138323"
	         edge="center" ox="" oy=""
	         visible="true" enabled="false" children="false"
 	         zorder="0"
	         alpha="1.00" blendmode="normal" smoothing="true"
 	         refreshrate="auto"
	         background="true"
			 backgroundcolor="0xEEEEEE"
	         blur="0"
	         css="p{font-size:16;text-align:center;font-family:Arial,sans-serif}"
	         flying="0"
	         html="[p]L [sq]architecture du Mont-Saint-Michel et sa baie en font le site touristique le plus fréquenté de Normandie et le deuxième de France avec plus de 3 000 000 visiteurs chaque année...[/p]"
	         roundedge="8"
	         shadow="0"
	         textblur="0"
	         />


This one isn't :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
	<hotspot name="text_mont"
	         url="%SWFPATH%/plugins/textfield.swf"
	         keep="true"
	         ath="74" atv="-27.5"
	         zoom="false" distorted="true"
	         width="200" height="200"
	         scale="2.5" scalechildren="false" rotate="0"
	         rx="0" ry="0" rz="1.101993230138323"
	         edge="center" ox="" oy=""
	         visible="false" enabled="false" children="false"
 	         zorder="0"
	         alpha="1.00" blendmode="normal" smoothing="true"
 	         refreshrate="auto"
	         autosize="center"
	         background="true"
	         blur="0"
	         css="p{font-size:16;text-align:center;font-family:Arial,sans-serif}"
	         flying="0"
	         html="[p]L [sq]architecture du Mont-Saint-Michel et sa baie en font le site touristique le plus fréquenté de Normandie et le deuxième de France avec plus de 3 000 000 visiteurs chaque année...[/p]"
	         roundedge="8"
	         shadow="0"
	         textblur="0"
	         />


Actually, I don't understand the difference
VideoStitch, a video stitching engine / blog sur les visites virtuelles ( french ).

6

Friday, June 19th 2009, 11:39pm

Hi,

it's the

Source code

1
 autosize="center"


setting,

in this case the textfield plugin changes it's size by it's own to fit the size of the text,
but with doesn't work yet in combination with distorted hotspots,

best regards,
Klaus

Similar threads