Hey Chunk -

These are two distinct problems. The problem you are describing is that the z-order of the subviews of a custom view are reversed at runtime.

Jon Hess

On Jan 19, 2009, at 11:21 PM, Chunk 1978 wrote:

not sure if it's related to a problem i've recently solved with custom
views:  i was trying to display a label "inside" a button, but the
label wouldn't show when built, only the button.  for some sketchy
reason i had to place the label under the button in the NIB because
the app build was displaying the custom view's layers in revers
order...

On Tue, Jan 20, 2009 at 1:43 AM, Graham Cox <[email protected]> wrote:

On 20 Jan 2009, at 5:29 pm, Joey Hagedorn wrote:

Hm, maybe this is an issue with the custom view in your nib. Perhaps try
putting your text fields inside, say,  a borderless NSBox instead?


Hi Joey, yes this seems to be the case. NSBox works OK.

thanks!

--Graham


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/ chunk1978%40gmail.com

This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/jhess%40apple.com

This email sent to [email protected]

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to