Page 1 of 1

Size Logic Block Affecting Element Position

Posted: Wed Sep 26, 2018 4:11 pm
by hromain
I'm using Pano2VR 6.4, outputting HTML5 on Chrome. I'm trying to set a size logic block on a center-aligned text box with a top-center anchor point. I want the text box to be 60% wide unless the player is less than 500px, in which case I want it to be 75% wide. However, when I set this logic block, it throws the position and alignment of the text box out of whack. This screenshot shows two text blocks with identical default sizes, anchor points, and X-coordinate positions. One has a size logic block and one does not. I've also attached the project here. Can anyone tell me why this is happening?
Screen Shot 2018-09-26 at 9.08.21 AM.png
Screen Shot 2018-09-26 at 9.08.21 AM.png (673.92 KiB) Viewed 2085 times

Re: Size Logic Block Affecting Element Position

Posted: Thu Sep 27, 2018 5:59 pm
by hromain
Two follow-up notes:
  • When I try to set containers filled with elements to a percent size, it moves the anchor point to the top left corner on output, even if that's not where I set it in the skin
  • Both issues only occur when the size is set to a percent. With a pixel size setting, it's not a problem.

Re: Size Logic Block Affecting Element Position

Posted: Wed Oct 03, 2018 9:07 pm
by Hopki
Hi,
I have written up a report for the developers.
So its going be on their radar.
Regards,
Hopki