• 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
NSRect, views....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSRect, views....


  • Subject: NSRect, views....
  • From: April Gendill <email@hidden>
  • Date: Wed, 27 Aug 2003 00:02:09 -0700

I'm still having some trouble... I asked about adding a scroll view to a tabviewitem. Well the info I got was extreemly helpful. However... Graphics and the osx coordinate system have me a little well... I don't get it.
I have a tabviewitem, when I look at the layout rect I have x of 16 and y of 102 for bottom left. i have width of 384 and height of 548. I need to insert (in the upper left corner at 0 x and 16 y a scroll view with a width of:359 and height of:532 and the below it another a 0 x and 0 y with a width of: 361 and height of 16 .
Because I do not understand the coordinate system or how to define an NSRect i do not know how to do this. Now I assume first, I have to define the Rectangle for each of the text views. One for the scroll view and another for the little one which i suppose is actually an NSTextField . How do i define the rect? second how do I pin it into the tabviewitem? I looked through a couple of my books and they touch on this, but they do not offer anything which actually answered my question or at least if it did, I did not see the answer

April.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSRect, views....
      • From: "Alastair J.Houghton" <email@hidden>
  • Prev by Date: Re: Frustrating NSMenu problem
  • Next by Date: Re: My runs through Xcode but not in the Finder...
  • Previous by thread: Re: Odd Quicktime Problem
  • Next by thread: Re: NSRect, views....
  • Index(es):
    • Date
    • Thread