AppStoreStyleHorizontalScrollView icon indicating copy to clipboard operation
AppStoreStyleHorizontalScrollView copied to clipboard

miniMarginPxBetweenItems is get only property cannot assign

Open Nidhee opened this issue 7 years ago • 1 comments

After I updated the pod to 1.5 and after that i am not able to use two properties miniMarginPxBetweenItems and miniAppearPxOfLastItem. What version I should use, i am currently working on swift 3.0

Nidhee avatar Mar 07 '17 07:03 Nidhee

Didn't check the title, sorry.

Yes, after v1.4, the two properties are readonly. Instead, you should set miniMarginBetweenItems and miniAppearWidthOfLastItem of structure MarginSettings . Now you can set different margins for different screen width, i.e. iPhone 4s portrait you can set marginSettings_320, so as other screen widths named as "marginSettings_width" pattern. There is also a default margin setting defaultMarginSettings which would be used for if the specific screen setting is not set. Please check the code or my blog for more details.

terenceLuffy avatar Mar 07 '17 14:03 terenceLuffy