njdehoog/NHBalancedFlowLayout — pull request #32 by zhxnlai (2014-11-17 07:31:15+00:00)
Title: Added scalesItemToFill property

It appears that NHBalancedFlowLayout scales item sizes up to fit the row width while preserving their aspect ratios. This produces different row heights, which makes total sense for displaying images. In my project, however, I am laying out text contents and having a fixed row height would make more sense. Therefore, I added a property `scalesItemToFill` that acts similarly to UIViewContentModeScaleToFill. It changes the aspect ratios of items' preferred size to fill a fixed row height (provided by `preferredRowSize`).

### Before

### After