From da45975a5aea927bb8bdcaf4a58b0deced862b5c Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 6 Dec 2018 17:14:47 +0200 Subject: [PATCH] Make the template collection view look much better Now it finally looks like I want, but oh boy was that a pain. I am not sure at all I understand what I am doing in Xcode's Interface Builder. I tried hard at first to use the cell size 200x220 for the cell size of the UICollectionView, consisting of a 200x200 UIImageView and a 200x20 UILabel below. But that did not seem to work, it still used a (default?) size of 150x150. Weird. Anyway, let's commit this state now that seems to work. Change-Id: I4021133619fbf62cd633392d93f19c2bbc81311a --- ios/Mobile/Base.lproj/Main.storyboard | 53 ++++++++++++------- .../TemplateCollectionViewController.mm | 12 +++-- 2 files changed, 42 insertions(+), 23 deletions(-) diff --git a/ios/Mobile/Base.lproj/Main.storyboard b/ios/Mobile/Base.lproj/Main.storyboard index 64685855d..062c453af 100644 --- a/ios/Mobile/Base.lproj/Main.storyboard +++ b/ios/Mobile/Base.lproj/Main.storyboard @@ -1,6 +1,6 @@ - + @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -43,49 +43,66 @@ - - - + + + - + - + - - - + + + + + + + - - +