Issue: unpredictable layout in nested items using percentages
Posted: Wed May 24, 2017 6:49 pm
I'm having a problem getting a cloned list of node names to display full-width to its container. It appears that there are 2 additional divs generated that are coming up with a pixel width of 160, when I have all widths set as a percentage:
Hotspot_list scroll container:
Has these attributes:
Nested Cloner container:
Has these attributes:
Text container:
Has these attributes:
This is the canvas preview from within pano2vr showing the expected result:
This is the actual result:
And this is the code, showing the additional divs:
Am I not following the correct workflow for this to work as expected?
I would also like to comment that having to tell a subelement to be positioned 300% of its parent width in relation to the full page instead of in 0% of the parent position/width in relation to the parent is not especially intuitive.
Thanks for any help/suggestions/advice!
Hotspot_list scroll container:
Has these attributes:
Nested Cloner container:
Has these attributes:
Text container:
Has these attributes:
This is the canvas preview from within pano2vr showing the expected result:
This is the actual result:
And this is the code, showing the additional divs:
Am I not following the correct workflow for this to work as expected?
I would also like to comment that having to tell a subelement to be positioned 300% of its parent width in relation to the full page instead of in 0% of the parent position/width in relation to the parent is not especially intuitive.
Thanks for any help/suggestions/advice!