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

Sunday, September 30th 2018, 8:35pm

bug in krpano 1.19-pr16?

The "maxwidth" attribute when the layer.type=text does not work. The code below has no effect.

Source code

1
2
3
4
5
6
7
8
9
<layer name="mytext"
  maxwidth="150"
  wordwrap="true"
  type="text"
  keep="true"
  align="lefttop" x="10" y="10"
  html="Text.The krpano Viewer is a small and very flexible high-performance viewer for all kind of panoramic images and interactive virtual tours. The viewer is available as Flash and HTML5 application. The viewer is designed for the usage inside the Browser on Desktop (Windows, Mac, Linux) and on Mobiles/Tablets (iPhone, iPad, Android, ...).In addition to the krpano Viewer there are the krpano Tools - this are small tools and droplets which are helping to automatically prepare the panoramic images for viewing and making them ready-to-use. Making a pano or a tour is possible just by drag-and-drop.Convince yourself by viewing the examples and / or by downloading the krpano Viewer and krpano Tools for free and try using them with your own panoramic images."
  css="font-family:Arial; font-size:16px; color:#000000;"
/>

The length of the text should be limited by the "maxwidth" attribute and the text should be moved to new lines. But this is not happening. I use krpano version 1.19-pr16, desktop firefox and chrome latest versions. Is it bug?
PS A similar question was asked here , no answer.

2

Thursday, October 4th 2018, 10:16am

Hi,

the maxwidth setting is a setting from the layer and currently not supported by the textfield at the moment (for several technical reasons) but that's already on my list.

Best regards,
Klaus

3

Friday, October 5th 2018, 12:44pm

Thanks for the reply. I think many users will support me-I ask you to write such moments in the documentation. When can we expect a new krpano release?