You are not logged in.

mauma

Beginner

  • "mauma" started this thread

Posts: 24

Location: Lucca - Italy

Occupation: Photographer / Virtual Tour

  • Send private message

1

Wednesday, December 30th 2020, 9:23am

Bgborder Bug?

Krpano1.20.9

Hi, I would like to know if this is a bug or has always been the case.
If I add a border to a layer it moves from its position.
Even if I add a child, it is moved as well.


Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
<layer name="test"
type="container"
bgcolor="0xcc0000"
bgalpha="1"
alpha="1"
visible="true"
keep="true"
edge="topright"
align="topright"
width="40"
height="40"x="0"y="0"
bgborder="5 0xffffff 1"
/>


With Border 0

https://pasteboard.co/JHhV6eH.png

With Border 5

https://pasteboard.co/JHhWvhg.png

to show it correctly I have to put x and y

Source code

1
  x="-5"  y="5"


but need change value if change align of layer...

has anyone encountered this problem? or I wrong somethings?

Thanks

jeromebg

Professional

Posts: 1,120

Location: Angers - France

Occupation: 360 experiences creator

  • Send private message

2

Thursday, December 31st 2020, 10:43am

What browser to you use ?
Can't reproduce the bug : https://www.360images.fr/barebone_bgborder/

3

Monday, January 4th 2021, 11:24am

Hi,

I can't reproduce it either...

Do you maybe modify the default css styles?
Like setting border-box sizing for all div elements:

Source code

1
div{ box-sizing:border-box; }


Best regards,
Klaus

Similar threads