Re: Problem setting up custom toolbar item in IB
Re: Problem setting up custom toolbar item in IB
- Subject: Re: Problem setting up custom toolbar item in IB
- From: Rob Keniger <email@hidden>
- Date: Tue, 20 Jan 2009 19:05:54 +1000
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 (email@hidden)
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:
This email sent to email@hidden