Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

textViewContainer width problem #27

Open
matijakregar opened this issue Sep 8, 2014 · 0 comments
Open

textViewContainer width problem #27

matijakregar opened this issue Sep 8, 2014 · 0 comments

Comments

@matijakregar
Copy link

On iPhone 5 (iOS 7.1.1) the textView (with no attachmentView) is not wide enough and the scroller is 20 px to the left.
In REComposeSheetView.m I changed (line 63) to
_textViewContainer = [[UIView alloc] initWithFrame:CGRectMake(0, 44, frame.size.width, frame.size.height - 44)];
Used to be frame.size.width - (REUIKitIsFlatMode() ? 20 : 0)

This seemes to fix the problem in my case, but this 20px width reduction in flat mode could be there for some reason unknown to me. I can't tell if it's a bug or a feature ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant