Permalink
Browse files

Merge pull request #730 from tszming/development

Fixed incorrect control's width
  • Loading branch information...
2 parents 6ddbab4 + ba4396d commit f371d147e3ba2d08ccd23aaeded3db29ef72acfe Adar Porat committed Jan 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Three20UI/Sources/TTTableControlCell.m
View
1 src/Three20UI/Sources/TTTableControlCell.m
@@ -167,6 +167,7 @@ - (void)layoutSubviews {
if ([TTTableControlCell shouldConsiderControlIntrinsicSize:_control]) {
minX += contentWidth - _control.width;
+ contentWidth = _control.width;
}
// XXXjoe For some reason I need to re-add the control as a subview or else

0 comments on commit f371d14

Please sign in to comment.