From 019403dab92f9cb2da9b5d4588811e0c160ed36f Mon Sep 17 00:00:00 2001 From: yaw Date: Sat, 2 Feb 2019 09:59:09 +0800 Subject: [PATCH] labe font size --- src/ios/DMCMediaPicker/CollectionViewCell.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ios/DMCMediaPicker/CollectionViewCell.m b/src/ios/DMCMediaPicker/CollectionViewCell.m index 52f8d89..de9a392 100644 --- a/src/ios/DMCMediaPicker/CollectionViewCell.m +++ b/src/ios/DMCMediaPicker/CollectionViewCell.m @@ -21,13 +21,13 @@ CGFloat labelH=width/6; self.labelL = [[UILabel alloc]initWithFrame:CGRectMake(0, width-labelH, width/2, labelH)]; self.labelL.textColor=[UIColor whiteColor]; - self.labelL.font=[UIFont systemFontOfSize:13.0]; + self.labelL.font=[UIFont systemFontOfSize:(labeH-5)*0.68]; self.labelL.backgroundColor= [[UIColor blackColor] colorWithAlphaComponent:0.3f]; self.labelR = [[UILabel alloc]initWithFrame:CGRectMake(width/2, width-labelH, width/2, labelH)]; self.labelR.textColor=[UIColor whiteColor]; - self.labelR.font=[UIFont systemFontOfSize:13.0]; + self.labelR.font=[UIFont systemFontOfSize:(labeH-5)*0.68]; //self.labelR.textAlignment=NSTextAlignmentRight; self.labelR.backgroundColor= [[UIColor blackColor] colorWithAlphaComponent:0.3f];