Comments (2)
So how this works is you define how big a block is, then you specify how many blocks a cell takes up - this is an optimization for speed, and it helps fit all the items together.
Think of the quilt layout like legos: block pixels specifies how big the 1x1 lego unit is, then block size will determine how big the lego piece is in terms of lego units.
You could try setting blockPixels to 1, and returning the exact size of the label in blockSize, but I'm not sure how that will perform!
from rfquiltlayout.
Hey. Thanks for the answer. After messing around for a bit using 1x1 seems like it should have worked but it was a little messy looking. I don't know if that is because of the label size not being calculated correctly or something else. ย What was happening is the width of the label always seemed to e a bit bigger than the block. ย
M
โ
Sent from Mailbox for iPhone
On Tue, Oct 22, 2013 at 10:46 AM, bryceredd [email protected]
wrote:
So how this works is you define how big a block is, then you specify how many blocks a cell takes up - this is an optimization for speed, and it helps fit all the items together.
Think of the quilt layout like legos: block pixels specifies how big the 1x1 lego unit is, then block size will determine how big the lego piece is in terms of lego units.You could try setting blockPixels to 1, and returning the exact size of the label in blockSize, but I'm not sure how that will perform!
Reply to this email directly or view it on GitHub:
#12 (comment)
from rfquiltlayout.
Related Issues (20)
- Content Inset is missing.
- Auto Resizing Tiles
- Sections in QuiltView HOT 2
- Reload initial content on viewDidAppear HOT 2
- RFQuiltLayout multiple section HOT 4
- Each box when tapped has to be expanded from the same position
- Two colums in different rows HOT 2
- Ordering issue
- iOS 8 problem HOT 1
- How to use RFQuiltLayout with a Swift project HOT 4
- Delegate Methods HOT 1
- Margin error HOT 3
- Using library without storyBoard
- Updating Cocoapod HOT 3
- Remove space added to top and bottom of collection view (Horizontal scrolling) HOT 1
- Does this project support horizontal scrolling?
- Why not head size
- Android port HOT 1
- Carthage support?
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 rfquiltlayout.