소스 검색

no message

Fenix Wang 8 년 전
부모
커밋
d1a6922531
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. BIN
      NIMDemo/NIM.xcworkspace/xcuserdata/Fenix.xcuserdatad/UserInterfaceState.xcuserstate
  2. 1 1
      NIMDemo/NIMDemo/TradeTopBarItem.m

BIN
NIMDemo/NIM.xcworkspace/xcuserdata/Fenix.xcuserdatad/UserInterfaceState.xcuserstate


+ 1 - 1
NIMDemo/NIMDemo/TradeTopBarItem.m

@@ -42,7 +42,7 @@
     _icon = [[UIImageView alloc] initWithFrame:CGRectMake(10, 5, 20, 20)];
     [container addSubview:_icon];
     
-    _label = [[UILabel alloc] initWithFrame:CGRectMake(_icon.right+5, 3, self.width-_icon.right-10, 24)];
+    _label = [[UILabel alloc] initWithFrame:CGRectMake(_icon.right+5, 3, container.width-_icon.right-10, 24)];
     [container addSubview:_label];
 }