I want to put a attributed string on a nstextview, and manually calculate the height of the textview and row
-(CGFloat)tableView:(NSTableView *)tableView heightOfRow:(NSInteger)row inside -(NSView *)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row I update frame of TextView, textView.frame = CGRectMake(57.0f, 36.0f-height, 380.0f, height); height is the calculated result for NSTextView. everything is fine for the first time, but if I scroll, the TextView starts move down, it has been bugs me for a day, does anyone knows why? thanks in advance. -- jun1st.f...@gmail.com Sent with Sparrow (http://www.sparrowmailapp.com/?sig) _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com