Skip to content

Commit

Permalink
Merge pull request #26 from aaronsakowski/master
Browse files Browse the repository at this point in the history
Fixed text clipping bug
  • Loading branch information
romaonthego committed Mar 13, 2014
2 parents b826438 + ff673ce commit ef72c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion REComposeViewController/REComposeViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ - (void)layoutWithOrientation:(UIInterfaceOrientation)interfaceOrientation width
_sheetView.attachmentView.frame = attachmentViewFrame;

CGRect textViewFrame = _sheetView.textView.frame;
textViewFrame.size.width = !_hasAttachment ? _sheetView.frame.size.width : _sheetView.frame.size.width - 84;
textViewFrame.size.width = !_hasAttachment ? _sheetView.textViewContainer.frame.size.width : _sheetView.textViewContainer.frame.size.width - 84;
textViewFrame.size.width -= REUIKitIsFlatMode() ? 14 : 0;
_sheetView.textView.scrollIndicatorInsets = UIEdgeInsetsMake(0.0f, 0.0f, 0.0f, _hasAttachment ? -85 : 0);
textViewFrame.size.height = _sheetView.frame.size.height - _sheetView.navigationBar.frame.size.height - 3;
Expand Down

0 comments on commit ef72c5a

Please sign in to comment.