You are not logged in.

Sergey74

Intermediate

  • "Sergey74" started this thread

Posts: 193

Location: Russia, Chelyabinsk

Occupation: professional noob

  • Send private message

1

Monday, September 7th 2015, 8:22am

Dynamic resizing layer/plugin with fixed margins

Hello,
How can I create a layer with fixed margins and dynamically resizable?
Sergey74 has attached the following image:
  • fixed-margins.jpg
translation difficulties *huh*

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Monday, September 7th 2015, 3:01pm

Следует использовать отрицательные значения ширины и высоты, тогда ширина(высота) дочернего слоя будeт == ширина (высота) родительского слоя минус указанное значение.

Подробнее тут: http://krpano.com/docu/xml/#layer.width
Regards,

Alexey

Sergey74

Intermediate

  • "Sergey74" started this thread

Posts: 193

Location: Russia, Chelyabinsk

Occupation: professional noob

  • Send private message

3

Monday, September 7th 2015, 3:16pm

Как говорится респект и уважуха! ;)
А я пытался вычислить размеры области отображения area, потом вычесть из них нужный отступ и передать значения слою) Еще раз большое спасибо!
translation difficulties *huh*