Size Logic Block Affecting Element Position

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
hromain
Posts: 30
Joined: Wed Apr 11, 2018 12:12 pm

Size Logic Block Affecting Element Position

Post by hromain » Wed Sep 26, 2018 4:11 pm

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 428 times
Attachments
SizingTest.zip
(200.8 KiB) Downloaded 12 times
Last edited by hromain on Thu Sep 27, 2018 9:22 pm, edited 1 time in total.

hromain
Posts: 30
Joined: Wed Apr 11, 2018 12:12 pm

Re: Size Logic Block Affecting Element Position

Post by hromain » Thu Sep 27, 2018 5:59 pm

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.

User avatar
Hopki
Gnome
Posts: 9082
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Size Logic Block Affecting Element Position

Post by Hopki » Wed Oct 03, 2018 9:07 pm

Hi,
I have written up a report for the developers.
So its going be on their radar.
Regards,
Hopki

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests