|
@@ -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];
|
|
|
}
|
|
|
|