• 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
RE: NSImageView size mismatch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: NSImageView size mismatch?


  • Subject: RE: NSImageView size mismatch?
  • From: Brian Hook <email@hidden>
  • Date: Fri, 05 Oct 2001 18:28:26 -0700
  • Organization: Pyrogon, Inc.

> Is this NSImageView bordered?
>
> -jcr

Hmmm, that may be it. I don't see an option to have it unbordered in
IB, I suppose I need to do this programmatically in awakeFromNib? Also,
is there a way to get the "client area" or interior bounds of the
NSImageView so that I can properly query its size irrespective of
borders? Windows has a kind of convoluted way of doing this
(GetClientRect or something like that).

The key is that when I make my NSImage I want it to be the exact proper
size to fit inside the NSImageView.

Thanks,

Brian


  • Follow-Ups:
    • Re: NSImageView size mismatch?
      • From: Vince DeMarco <email@hidden>
References: 
 >Re: NSImageView size mismatch? (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: NSImageView size mismatch?
  • Next by Date: Re: retainCount
  • Previous by thread: Re: NSImageView size mismatch?
  • Next by thread: Re: NSImageView size mismatch?
  • Index(es):
    • Date
    • Thread