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

Monday, October 30th 2017, 10:18am

How to list a few layers of the parent for the text style?

For a text layer, I can assign a normal layer to a parent layer. And there are some layers in which text should be in a specific place.
Is it possible to create only one text style in which to specify all the settings? Or it is necessary to do for each usual layer a text layer?

In short: can you make sure that the line
"parent" = specify all layers for which this text style should work?
Like
"parent="layer_1...layer_2...layer_3...etc."

For example:

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
24
25
<textstyle name="style_1"
	       	font="Arial" fontsize.no-mobile="16" fontsize.mobile="18" bold="false" italic="true"
	       	background="true" backgroundcolor="0x000000" backgroundalpha="0.2"
	       	border="true"
			   bordercolor="0xffffff"
           	borderalpha="5.0"
           	borderwidth="1.5"
           	shadow="8.0"
           	shadowrange="4.0"
           	shadowangle="4"
           	shadowcolor="0xb1afaf"
           	shadowalpha="0.5"
	       	textcolor="0xFFFFFF"
	       	padding="6 12"
	       	roundedge="10"
	       	origin="bottom"
	       	edge="bottom"
	       	textalign="center"
	       	xoffset="0"
			   yoffset.no-touch="0"
	       	yoffset.touch="0"
			   width="230"
           	height=""
			   parent="...layer_1...layer_2...layer_3...etc."
	       	/>

Tuur

Sage

Posts: 3,323

Location: Netherlands

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

  • Send private message

2

Monday, October 30th 2017, 1:07pm

Hi have a look here:
https://krpano.com/docu/xml/#style

Hope it helps
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

3

Tuesday, October 31st 2017, 6:05pm

Hi! Thanks for the reply! I saw it, but this description doesn't really answer my question. I wanted to clarify - is it possible in style list a few of layers for which this style is child.