From 664e42dc2f23a9cf1cd7ceba09bfaefb66218694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Sch=C3=BCtz?= Date: Mon, 8 Jun 2020 21:45:50 +0200 Subject: [PATCH] Autolayout fixes (#240) * Fix splash background * Fix symptom flow headers autolayout --- .../Background_purple.imageset/Contents.json | 45 +++++++++++++++--- .../HeaderLabel.imageset/Contents.json | 21 -------- .../HeaderLabel.imageset/HeaderLabel.pdf | Bin 878 -> 0 bytes .../CoEpiLaunchScreen.storyboard | 18 +++---- .../Breathless/BreathlessViewController.xib | 20 ++++---- .../Cough/CoughDaysViewController.xib | 10 ++-- .../FollowUp/Cough/CoughHowViewController.xib | 10 ++-- .../Cough/CoughTypeViewController.xib | 24 +++++----- .../Fever/FeverDaysViewController.xib | 10 ++-- .../Fever/FeverTempViewController.xib | 10 ++-- .../Fever/FeverTodayViewController.xib | 18 ++++--- .../Fever/FeverWhereViewController.xib | 10 ++-- .../Fever/FeverWhereViewControllerOther.xib | 15 +++--- .../SymptomStartDaysViewController.xib | 10 ++-- 14 files changed, 121 insertions(+), 100 deletions(-) delete mode 100644 CoEpi/Assets.xcassets/HeaderLabel.imageset/Contents.json delete mode 100644 CoEpi/Assets.xcassets/HeaderLabel.imageset/HeaderLabel.pdf diff --git a/CoEpi/Assets.xcassets/Background_purple.imageset/Contents.json b/CoEpi/Assets.xcassets/Background_purple.imageset/Contents.json index 10929a9..f68b6ab 100644 --- a/CoEpi/Assets.xcassets/Background_purple.imageset/Contents.json +++ b/CoEpi/Assets.xcassets/Background_purple.imageset/Contents.json @@ -1,23 +1,56 @@ { "images" : [ { - "idiom" : "universal", "filename" : "Background.png", + "idiom" : "universal", + "resizing" : { + "cap-insets" : { + "left" : 0, + "right" : 0 + }, + "center" : { + "mode" : "tile", + "width" : 375 + }, + "mode" : "3-part-horizontal" + }, "scale" : "1x" }, { - "idiom" : "universal", "filename" : "Background@2x.png", + "idiom" : "universal", + "resizing" : { + "cap-insets" : { + "left" : 0, + "right" : 0 + }, + "center" : { + "mode" : "tile", + "width" : 750 + }, + "mode" : "3-part-horizontal" + }, "scale" : "2x" }, { - "idiom" : "universal", "filename" : "Background@3x.png", + "idiom" : "universal", + "resizing" : { + "cap-insets" : { + "left" : 0, + "right" : 0 + }, + "center" : { + "mode" : "tile", + "width" : 1125 + }, + "mode" : "3-part-horizontal" + }, "scale" : "3x" } ], "info" : { - "version" : 1, - "author" : "xcode" + "author" : "xcode", + "version" : 1 } -} \ No newline at end of file +} diff --git a/CoEpi/Assets.xcassets/HeaderLabel.imageset/Contents.json b/CoEpi/Assets.xcassets/HeaderLabel.imageset/Contents.json deleted file mode 100644 index 9d8d957..0000000 --- a/CoEpi/Assets.xcassets/HeaderLabel.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "HeaderLabel.pdf", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/CoEpi/Assets.xcassets/HeaderLabel.imageset/HeaderLabel.pdf b/CoEpi/Assets.xcassets/HeaderLabel.imageset/HeaderLabel.pdf deleted file mode 100644 index bb5d128847a23df896ef3d8b4d371238f6d8ea5a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 878 zcmZvbO>e?542JLi6}}+Bfqtc-AR(jyW16;Utn7w%=-L3CpxK%-vHkiv{i3Y+P&rRx z$9|o5mh(m5Haq|uEtKycfH)rGWC9|I^b(vVHy=f^&34EL`udd0QV|@$oQv-`6#m^5 zXRGEaRPY71VdaKa<@9T>y;pCA2e1t8j9i;)ph$1%(!Iuz+00|8!i2WV#I`l6+ygL= zSBnPUH+dbnKj*l{F5-8vfdpPaOH=k;iKO)?#B-QeOXt><0s6V7CkiG=RdGpyh;NQogYQDf2? z)i1z&h$AW%bq_vP_sryxV(nH3ibx~V;38Ae=q$*Bz1)_ex@~o>h*K&yV4(-aWc3#Z zoHLGuOS3J^J){><8lyV3oe^`q7IH`b5qDaFd^D_2WoZ!aMGAU;_j8h?tK>oSup39c iLKM@NGDF>PF0i?Ze+5;a{~AG> - + @@ -13,22 +13,21 @@ - + - - - + + - + - + + + + diff --git a/CoEpi/ui/symptomReport/FollowUp/Breathless/BreathlessViewController.xib b/CoEpi/ui/symptomReport/FollowUp/Breathless/BreathlessViewController.xib index 400edec..62d3c15 100644 --- a/CoEpi/ui/symptomReport/FollowUp/Breathless/BreathlessViewController.xib +++ b/CoEpi/ui/symptomReport/FollowUp/Breathless/BreathlessViewController.xib @@ -1,8 +1,9 @@ - + - + + @@ -21,10 +22,11 @@ - - + + + - + - + - diff --git a/CoEpi/ui/symptomReport/FollowUp/Fever/FeverDaysViewController.xib b/CoEpi/ui/symptomReport/FollowUp/Fever/FeverDaysViewController.xib index ed5918b..e1589a8 100644 --- a/CoEpi/ui/symptomReport/FollowUp/Fever/FeverDaysViewController.xib +++ b/CoEpi/ui/symptomReport/FollowUp/Fever/FeverDaysViewController.xib @@ -24,10 +24,11 @@ - - + + + - + @@ -122,7 +123,7 @@ - + @@ -130,7 +131,6 @@ - diff --git a/CoEpi/ui/symptomReport/FollowUp/Fever/FeverTempViewController.xib b/CoEpi/ui/symptomReport/FollowUp/Fever/FeverTempViewController.xib index 402259d..2b22cfc 100644 --- a/CoEpi/ui/symptomReport/FollowUp/Fever/FeverTempViewController.xib +++ b/CoEpi/ui/symptomReport/FollowUp/Fever/FeverTempViewController.xib @@ -24,10 +24,11 @@ - - + + + - + @@ -122,7 +123,7 @@ - + @@ -131,7 +132,6 @@ - diff --git a/CoEpi/ui/symptomReport/FollowUp/Fever/FeverTodayViewController.xib b/CoEpi/ui/symptomReport/FollowUp/Fever/FeverTodayViewController.xib index 7b7b588..ad5932c 100644 --- a/CoEpi/ui/symptomReport/FollowUp/Fever/FeverTodayViewController.xib +++ b/CoEpi/ui/symptomReport/FollowUp/Fever/FeverTodayViewController.xib @@ -1,8 +1,9 @@ - + - + + @@ -21,10 +22,11 @@ - - + + + - + @@ -84,7 +86,7 @@ - + @@ -100,8 +102,10 @@ - + + + diff --git a/CoEpi/ui/symptomReport/FollowUp/Fever/FeverWhereViewController.xib b/CoEpi/ui/symptomReport/FollowUp/Fever/FeverWhereViewController.xib index 7154331..384de3b 100644 --- a/CoEpi/ui/symptomReport/FollowUp/Fever/FeverWhereViewController.xib +++ b/CoEpi/ui/symptomReport/FollowUp/Fever/FeverWhereViewController.xib @@ -1,8 +1,8 @@ - + - + @@ -24,9 +24,9 @@ - + - + @@ -112,7 +112,7 @@ - + diff --git a/CoEpi/ui/symptomReport/FollowUp/Fever/FeverWhereViewControllerOther.xib b/CoEpi/ui/symptomReport/FollowUp/Fever/FeverWhereViewControllerOther.xib index 9545854..8b61e73 100644 --- a/CoEpi/ui/symptomReport/FollowUp/Fever/FeverWhereViewControllerOther.xib +++ b/CoEpi/ui/symptomReport/FollowUp/Fever/FeverWhereViewControllerOther.xib @@ -1,8 +1,8 @@ - + - + @@ -21,10 +21,10 @@ - - + + - + @@ -51,7 +51,7 @@ - + @@ -95,7 +95,7 @@ - + @@ -109,7 +109,6 @@ - diff --git a/CoEpi/ui/symptomReport/FollowUp/SymptomStartDaysViewController.xib b/CoEpi/ui/symptomReport/FollowUp/SymptomStartDaysViewController.xib index d666bda..7a2946c 100644 --- a/CoEpi/ui/symptomReport/FollowUp/SymptomStartDaysViewController.xib +++ b/CoEpi/ui/symptomReport/FollowUp/SymptomStartDaysViewController.xib @@ -24,10 +24,11 @@ - - + + + - + @@ -116,7 +117,7 @@ - + @@ -130,7 +131,6 @@ -