|
@@ -26,7 +26,7 @@ class KMHomeFastToolViewController: NSViewController {
|
|
|
@IBOutlet weak var fastToolBoxHeightConstraint: NSLayoutConstraint!
|
|
|
|
|
|
let ScrollerViewWidget: CGFloat = 15.0
|
|
|
- var collectionItemWidth: Int! = 230
|
|
|
+ var collectionItemWidth: Int = 230
|
|
|
|
|
|
var fastToolMoreButtonVC: KMDesignButton!
|
|
|
var fastToolAllToolsButtonVC: KMDesignButton!
|
|
@@ -256,6 +256,10 @@ extension KMHomeFastToolViewController: NSCollectionViewDelegateFlowLayout {
|
|
|
}
|
|
|
|
|
|
func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat {
|
|
|
- return 16
|
|
|
+ return 8
|
|
|
+ }
|
|
|
+
|
|
|
+ func collectionView(_ collectionView: NSCollectionView, layout collectionViewLayout: NSCollectionViewLayout, insetForSectionAt section: Int) -> NSEdgeInsets {
|
|
|
+ return NSEdgeInsets(top: 0, left: 0, bottom: 15, right: 0)
|
|
|
}
|
|
|
}
|