Re: Superimpose a NSTextField over NSImageView?
Re: Superimpose a NSTextField over NSImageView?
- Subject: Re: Superimpose a NSTextField over NSImageView?
- From: Alan Hart <email@hidden>
- Date: Sun, 23 Apr 2006 22:05:51 +0100
On 23 Apr 2006, at 20:23, desktoast music productions wrote:
On Apr 23, 2006, at 8:10 AM, desktoast music productions wrote:
Is there a way to superimpose a textfield on my customView/
imageView inIB,
so that I can update it like any other textfield?
Sibling views are not guaranteed to be drawn in any particular
order, so it might be that your image view is getting drawn after
the text field.
Interesting? Why are there "Bring to Front" and "Sent to Back" menu
commands in IB's Layout menu?
If I overlap a NSImageView and a NSTextField in a window in IB these
commands seem to do what you'd expect when you run Test Interface.
- Alan
Do you really expect me to post a question like that without having
tried
"Bring to Front" and "Sent to Back" and the like at least a hundred
times?
Apologies if I expressed myself badly. I wasn't questioning your
results.
Any other drawing program with those menu items would use them to
define front-to-back object ordering. My quick check seemed to
confirm it, and the IB Help says nothing about them as far as I can
tell. Hence my surprise when Andy pointed out that you can't rely on
it. It has never occurred to me to look for information on what they
actually do, and I'm still not sure I know.
-- Alan
_______________________________________________
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