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

Wednesday, July 21st 2021, 5:24am

Spaces in TextField will be deleted

The extra spaces in the TextField will be deleted forcibly and only one is left. Is there a property similar to "condenseWhite "?

spacerywirtualne

Professional

Posts: 1,112

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

2

Wednesday, July 21st 2021, 10:29am

Hello MANJAY

Have you tried this?


Source code

1
2
3
<data name="datahtml"><![CDATA[
	<p>Start text &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end of text.</p>
]]></data>


Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

3

Wednesday, July 21st 2021, 10:50am

Hi,

that's normal for html/css and not krpano specific, but the css style white-space:pre; should help, e.g.:

Source code

1
css='white-space:pre;'


Best regards,
Klaus

4

Wednesday, July 21st 2021, 11:48am

Hi spacerywirtualne

layer support, but hotspot (webgl) header spaces seem to have no effect.


Source code

1
<data name="datahtml"><![CDATA[<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start text &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end of text.</p>]]></data>

5

Wednesday, July 21st 2021, 11:51am

Hi,

that's normal for html/css and not krpano specific, but the css style white-space:pre; should help, e.g.:

Source code

1
css='white-space:pre;'


Best regards,
Klaus

layer support but hotspot (webgl) seems to have no effect.

spacerywirtualne

Professional

Posts: 1,112

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

6

Wednesday, July 21st 2021, 12:38pm

layer support but hotspot (webgl) seems to have no effect.
Are you sure *question*


p.s. try also this method
spacerywirtualne has attached the following image:
  • webgl-hotspot-with-multiple-space.png
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

7

Thursday, July 22nd 2021, 3:46am

using depthmap rendering mode,does it affect the test result?

Source code

1
<display depthmaprendermode="3dmodel" />


You can try this example【examples/depthmap/abu-simbel-tempel-tour/tour.xml&initvars.editmode=true】
MANJAY has attached the following images:
  • 01.jpg
  • 02.jpg

spacerywirtualne

Professional

Posts: 1,112

Location: Poland, Europe

Occupation: krpano developer : virtual tours : the cms4vr owner

  • Send private message

8

Thursday, July 22nd 2021, 11:09am

Do you put the text in a data container?

<data name="datahtml"><![CDATA[
<p>Start text &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end of text.</p>
]]></data>


Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

9

Thursday, July 22nd 2021, 11:15am

Do you put the text in a data container?


Start text end of text.

]]>


Piotr

Yes

10

Thursday, July 22nd 2021, 11:25am

webvr hotspots are custom rendered by krpano, not by the browser ...
maybe the css (and &nbsp; ?) isnt supported there