FSPagerView icon indicating copy to clipboard operation
FSPagerView copied to clipboard

Position FSPagerview

Open xthaohg opened this issue 6 years ago • 9 comments

Hi WenchaoD, I have a issue. I want to set FSPagerView's position is left. This is alway center. Excuse me for using transle.google

xthaohg avatar May 08 '18 06:05 xthaohg

did you find any solution?

SDGMazeGeek avatar Jul 25 '18 08:07 SDGMazeGeek

Any updates?

jhrasco avatar Oct 24 '18 07:10 jhrasco

Any news?

AndreVicenteW avatar Dec 06 '18 18:12 AndreVicenteW

Anything?

adamhongmy avatar Mar 29 '19 06:03 adamhongmy

Any solution?

sagarsukode avatar Sep 23 '19 15:09 sagarsukode

Hello guys, I am able to achieve it by updating the frame like: pagerViewObj.itemSize = CGSize(width: UIScreen.main.bounds.width/3.4, height: UIScreen.main.bounds.width/2.5)

sagarsukode avatar Sep 24 '19 11:09 sagarsukode

any update?

helimarrabago avatar Jan 08 '20 02:01 helimarrabago

Shame I was going to use this but can't align to the left so no go.

alexkornhauser avatar Jan 09 '20 21:01 alexkornhauser

Change the file FSPageViewLayout.swift in the line 78 from: self.leadingSpacing = self.scrollDirection == .horizontal ? (collectionView.frame.width-self.actualItemSize.width)*0.5 : (collectionView.frame.height-self.actualItemSize.height)*0.5 to: self.leadingSpacing = self.scrollDirection == .horizontal ? 0 : (collectionView.frame.height-self.actualItemSize.height)*0.5

mehranramazanilar avatar Sep 02 '21 07:09 mehranramazanilar