Browse Source

new view share

marinofaggiana 5 years ago
parent
commit
5b3dee2bba
1 changed files with 3 additions and 1 deletions
  1. 3 1
      iOSClient/Share/NCSharePaging.swift

+ 3 - 1
iOSClient/Share/NCSharePaging.swift

@@ -46,14 +46,16 @@ class NCSharePaging: UIViewController {
         view.addSubview(pagingViewController.view)
         pagingViewController.didMove(toParent: self)
         
+        // Customization
         pagingViewController.selectedTextColor = .black
         pagingViewController.indicatorColor = .black
         pagingViewController.indicatorOptions = .visible(
-            height: 1,
+            height: 0.5,
             zIndex: Int.max,
             spacing: .zero,
             insets: .zero
         )
+        pagingViewController.menuItemSize = .fixed(width: self.view.bounds.width/3, height: 40)
         
         // Contrain the paging view to all edges.
         pagingViewController.view.translatesAutoresizingMaskIntoConstraints = false