Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Unified Diff: remoting/ios/app/host_collection_view_controller.mm

Issue 2916003002: [CRD iOS] Fix shadow between host cards and use anchor constraints (Closed)
Patch Set: Use self.contentView and add ASCII art Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/ios/app/host_collection_view_cell.mm ('k') | remoting/ios/app/remoting_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/ios/app/host_collection_view_controller.mm
diff --git a/remoting/ios/app/host_collection_view_controller.mm b/remoting/ios/app/host_collection_view_controller.mm
index 4724cb482287e3bd53549532745c304d7e2e3d6f..3d415c874a94f5a2376ca0f4724d643a68fd6416 100644
--- a/remoting/ios/app/host_collection_view_controller.mm
+++ b/remoting/ios/app/host_collection_view_controller.mm
@@ -49,9 +49,7 @@ static UIColor* kBackgroundColor =
- (void)viewDidLoad {
[super viewDidLoad];
self.styler.cellStyle = MDCCollectionViewCellStyleCard;
- self.styler.cellLayoutType = MDCCollectionViewCellLayoutTypeGrid;
- self.styler.gridPadding = 0;
- self.styler.gridColumnCount = 1;
+ self.styler.cellLayoutType = MDCCollectionViewCellLayoutTypeList;
}
- (void)viewWillTransitionToSize:(CGSize)size
« no previous file with comments | « remoting/ios/app/host_collection_view_cell.mm ('k') | remoting/ios/app/remoting_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698