gif label size

This commit is contained in:
yaw 2019-02-02 09:10:26 +08:00
parent fc7d2619b3
commit 2b1a9aaa3a

View File

@ -40,7 +40,7 @@
self.labeGIF.attributedText = attrText; self.labeGIF.attributedText = attrText;
self.labeGIF.layer.cornerRadius = 4; self.labeGIF.layer.cornerRadius = 4;
self.labeGIF.layer.masksToBounds = YES; self.labeGIF.layer.masksToBounds = YES;
self.labeGIF.font=[UIFont systemFontOfSize:13.0]; self.labeGIF.font=[UIFont systemFontOfSize:(labeH-5)*0.68];
self.labeGIF.adjustsFontSizeToFitWidth = YES; self.labeGIF.adjustsFontSizeToFitWidth = YES;
self.labeGIF.backgroundColor= [[UIColor blackColor] colorWithAlphaComponent:0.4f]; self.labeGIF.backgroundColor= [[UIColor blackColor] colorWithAlphaComponent:0.4f];