Re: NSImageView size mismatch?
Re: NSImageView size mismatch?
- Subject: Re: NSImageView size mismatch?
- From: Vince DeMarco <email@hidden>
- Date: Mon, 8 Oct 2001 11:21:52 -0700
On Friday, October 5, 2001, at 06:28 pm, Brian Hook wrote:
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.
How about using this in the info panel
Look at the border option in the ImageView inspector.