On 20/01/2009, at 5: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...


This means you didn't place the label inside the custom view in IB. You have to double-click the view to make it active so you're editing the contents of the view and then drag the label onto the custom view. This will place the label as a subview of the custom view.

You can verify this by switching the main nib window to one of the two hierarchical modes and checking that the Label is a subview of the custom view.

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to