04-12-2018 08:38 - edited 04-12-2018 08:39
04-12-2018 08:38 - edited 04-12-2018 08:39
I am building an app that uses the scroll view. It seems that I am locked to the screen height as the minimum space between sections. I tried to change the height of the rectangles but it doesn't seem to change anything.
<use href="#scrollview-item"> <rect width="100%" height="75" fill="fb-black" />
https://github.com/cmspooner/Weather-and-Forecast
What am I doing wrong? Is this a limitation of the scroll view? Is there a better option?
Answered! Go to the Best Answer.
04-12-2018 12:42
04-12-2018 12:42
I figured it out. I had to set the height in the #scrollview-item section
<use href="#scrollview-item" height = "90">
04-12-2018 12:42
04-12-2018 12:42
I figured it out. I had to set the height in the #scrollview-item section
<use href="#scrollview-item" height = "90">