Size Logic Block Affecting Element Position

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
hromain
Posts: 42
Joined: Wed Apr 11, 2018 12:12 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 2042 times
Attachments
SizingTest.zip
(200.8 KiB) Downloaded 148 times
Last edited by hromain on Thu Sep 27, 2018 9:22 pm, edited 1 time in total.
hromain
Posts: 42
Joined: Wed Apr 11, 2018 12:12 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: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
I have written up a report for the developers.
So its going be on their radar.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply