Commit 35a505accf61382e498e61c2fe7d92f08c661cc4

Authored by zhangxiaowen
1 parent b071ef34

no message

CNLiveSettingModule/Classes/FontSIze/CNLiveMessageFrame.h
... ... @@ -8,11 +8,11 @@
8 8 #define ChatMargin 10 //间隔
9 9 #define ChatIconWH 45 //头像宽高height、width
10 10  
11   -#define ChatLineSpacing 5
12   -#define ChatContentTop 15 //文本内容与按钮上边缘间隔
13   -#define ChatContentLeft 20 //文本内容与按钮左边缘间隔
14   -#define ChatContentBottom 15 //文本内容与按钮下边缘间隔
15   -#define ChatContentRight 15 //文本内容与按钮右边缘间隔
  11 +#define ChatLineSpacing 3
  12 +#define ChatContentTop 8 //文本内容与按钮上边缘间隔
  13 +#define ChatContentLeft 15 //文本内容与按钮左边缘间隔
  14 +#define ChatContentBottom 8 //文本内容与按钮下边缘间隔
  15 +#define ChatContentRight 10 //文本内容与按钮右边缘间隔
16 16  
17 17 #import <Foundation/Foundation.h>
18 18  
... ...
CNLiveSettingModule/Classes/FontSIze/CNLiveMessageFrame.m
... ... @@ -39,7 +39,8 @@
39 39 CGFloat h = 0;
40 40 if (contentSize.height + ChatContentTop + ChatContentBottom < ChatIconWH) {
41 41 h = ChatIconWH;
42   - }else{
  42 + }
  43 + else{
43 44 h = contentSize.height + ChatContentTop + ChatContentBottom;
44 45 }
45 46  
... ...