• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTextView & HTML table height?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView & HTML table height?


  • Subject: NSTextView & HTML table height?
  • From: Thom Meijer <email@hidden>
  • Date: Sun, 9 Oct 2005 21:41:20 +0200

Hello everyone!

I need to draw a table so I thought I'll make it through NSTextView and its
ability to display HTML.

So I created text view in IB and wrote a piece of code:
NSString *temp=@"<html><table width=\"100\" height=\"100\"
border=\"1"><tr><td></td><td></td></tr></table></html>";
NSData *htmlData = [temp dataUsingEncoding:NSUTF8StringEncoding];
and bound htmlData to my text view.

The table is drawn but it ignores the table's height argument. (width is ok)
What am I doing wrong?
Thank you in advace.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSTextView & HTML table height?
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: NSSliderCell Drawing Issue
  • Next by Date: Re: QTKit Tutorial
  • Previous by thread: Setting the Desktop Background: Sample Not Working?
  • Next by thread: Re: NSTextView & HTML table height?
  • Index(es):
    • Date
    • Thread