New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 704102 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: ----

Blocked on:
issue 704082



Sign in to add a comment

Support dynamic sizes for all collection cells

Project Member Reported by lpromero@chromium.org, Mar 22 2017

Issue description

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.
 
Components: UI>Browser>Core
Cc: lpromero@chromium.org
Owner: sczs@chromium.org
To sczs as part of the Collections redesign.

Sign in to add a comment