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

Issue 704082 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug

Blocking:
issue 704102



Sign in to add a comment

Have a MDCCollectionViewTextCell working with auto layout

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

Issue description

The CollectionViewTextItem are using MDCCollectionViewTextCell as cellClass.
This CL has a fix positioning, not using auto layout.

In order to allow dynamic type and the usage of auto-detection of cell height, we should have a cell having the same behavior of MDCCollectionViewTextCell but using auto layout.
This cell would be used by the CollectionViewTextItem.
 
Cc: gambard@chromium.org lpromero@chromium.org
 Issue 704087  has been merged into this issue.
Components: UI>Settings
Blocking: 704102
Project Member

Comment 4 by bugdroid1@chromium.org, Mar 24 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0b9612c36b6ba03e3f007114bff6347295c7d427

commit 0b9612c36b6ba03e3f007114bff6347295c7d427
Author: gambard <gambard@chromium.org>
Date: Fri Mar 24 09:59:40 2017

Use CollectionViewTextItem instead of a cast

To set the color and the font of the cell handled by a CollectionViewTextItem,
some classes where selecting the cell and casting it to a
CollectionViewTextCell.
This CL sets the style directly in the item.

BUG= 704082 

Review-Url: https://codereview.chromium.org/2768933005
Cr-Commit-Position: refs/heads/master@{#459378}

[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/payments/payment_request_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/settings/accounts_collection_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/settings/autofill_collection_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/settings/block_popups_collection_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/settings/material_cell_catalog_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/settings/password_details_collection_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/settings/privacy_collection_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/settings/save_passwords_collection_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/settings/settings_collection_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/settings/sync_settings_collection_view_controller.mm
[modify] https://crrev.com/0b9612c36b6ba03e3f007114bff6347295c7d427/ios/chrome/browser/ui/settings/translate_collection_view_controller.mm

Project Member

Comment 5 by bugdroid1@chromium.org, Mar 24 2017

Status: Fixed (was: Assigned)

Sign in to add a comment