Comments (3)
Hi pieterclaerhout,
The number of cells is configurable via the delegate. Numbers can be changed by implementing collectionView:layout:numberOfColumnsInSection:
in the FMMosiacLayoutDelegate.
Higher column counts mean smaller cell width.
from fmmosaiclayout.
Hi Kyle,
that's correct, but I was more looking for an option to specify a colspan and rowspan for a cell.
Kind regards,
pieter
from fmmosaiclayout.
Ah i see, that would be contrary to the algorithm used to calculate the cells automatically. The cell widths are calculated as part of the layout and are dictated base on the width of the available space and the number of columns.
from fmmosaiclayout.
Related Issues (16)
- ability to change number of image in one row HOT 2
- Get rid of delegate in favor of self.collectionView.delegate HOT 2
- How to Add Header and Footer View? HOT 2
- Change Cell Size ( or number of items in one column) HOT 7
- Release 0.1.2 breaks UI in landscape mode HOT 2
- Calculate mosaic cell size placement to always end flush
- Add support for inserting, removing, and moving cells with animations
- SWIFT. HOT 3
- Can't get the Example Project to work HOT 3
- Add support for FMMosaicCellSizeTall and FMMosaicCellSizeWide. HOT 2
- How to change the scroll direction? HOT 1
- How to add cell size medium ? HOT 2
- Deleting an item causes layout not working correctly. HOT 1
- issues with build.
- setting numberOfColumnsInSection to odd number HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmmosaiclayout.