Sie sind nicht angemeldet.

1

Mittwoch, 21. Juli 2021, 05:24

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 "?

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Mittwoch, 21. Juli 2021, 10:29

Hello MANJAY

Have you tried this?


Quellcode

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

Mittwoch, 21. Juli 2021, 10:50

Hi,

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

Quellcode

1
css='white-space:pre;'


Best regards,
Klaus

4

Mittwoch, 21. Juli 2021, 11:48

Hi spacerywirtualne

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


Quellcode

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

5

Mittwoch, 21. Juli 2021, 11:51

Hi,

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

Quellcode

1
css='white-space:pre;'


Best regards,
Klaus

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

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

6

Mittwoch, 21. Juli 2021, 12:38

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


p.s. try also this method
»spacerywirtualne« hat folgendes Bild angehängt:
  • 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

Donnerstag, 22. Juli 2021, 03:46

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

Quellcode

1
<display depthmaprendermode="3dmodel" />


You can try this example【examples/depthmap/abu-simbel-tempel-tour/tour.xml&initvars.editmode=true】
»MANJAY« hat folgende Bilder angehängt:
  • 01.jpg
  • 02.jpg

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

8

Donnerstag, 22. Juli 2021, 11:09

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

Donnerstag, 22. Juli 2021, 11:15

Do you put the text in a data container?


Start text end of text.

]]>


Piotr

Yes

10

Donnerstag, 22. Juli 2021, 11:25

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