- re-fixed <rdar://problem/
3665430> horizontal scroll bar of text area does not show, even when text is wide in "no wrap" mode
* kwq/KWQTextArea.mm: (-[KWQTextArea _updateTextViewWidth]): Don't change the text view width
to match the text area's width in the "wrap" case.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8711
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-02-25 Darin Adler <darin@apple.com>
+
+ Reviewed by John.
+
+ - re-fixed <rdar://problem/3665430> horizontal scroll bar of text area does not show, even when text is wide in "no wrap" mode
+
+ * kwq/KWQTextArea.mm: (-[KWQTextArea _updateTextViewWidth]): Don't change the text view width
+ to match the text area's width in the "wrap" case.
+
2005-02-25 Ken Kocienda <kocienda@apple.com>
Reviewed by Hyatt
- (void)_updateTextViewWidth
{
- [textView setFrameSize:NSMakeSize([self contentSize].width, [textView frame].size.height)];
+ if (wrap) {
+ [textView setFrameSize:NSMakeSize([self contentSize].width, [textView frame].size.height)];
+ }
}
- initWithFrame:(NSRect)frame