All MDCCollectionViewCell subclasses should support being dynamically sized.
That means:
* using AutoLayout.
* overriding layoutSubviews to update the preferredMaxLayoutWidth of labels that can span multiple lines.
A first pass at the collection view controller that will need to be checked, as they call the default MDC -collectionView:cellHeightForItemAtIndexPath::
AutofillProfileEditCollectionViewController
ContentSettingsCollectionViewController
DataplanUsageCollectionViewController
AboutChromeCollectionViewController
SearchEngineSettingsCollectionViewController
VoicesearchCollectionViewController
Then all the subclasses that override the method will need to be updated to rely on the CollectionViewController's implementation. No other controller should need to override this method in fine.
Comment 1 by eugene...@chromium.org
, Mar 22 2017