Sie sind nicht angemeldet.

mauma

Anfänger

  • »mauma« ist der Autor dieses Themas

Beiträge: 24

Wohnort: Lucca - Italy

Beruf: Photographer / Virtual Tour

  • Nachricht senden

1

Mittwoch, 30. Dezember 2020, 09:23

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.


Quellcode

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

Quellcode

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


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

has anyone encountered this problem? or I wrong somethings?

Thanks

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

2

Donnerstag, 31. Dezember 2020, 10:43

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

3

Montag, 4. Januar 2021, 11:24

Hi,

I can't reproduce it either...

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

Quellcode

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


Best regards,
Klaus

Ähnliche Themen