• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSControl objects on a custom view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSControl objects on a custom view


  • Subject: Re: NSControl objects on a custom view
  • From: Florian Soenens <email@hidden>
  • Date: Mon, 14 Jun 2010 11:54:05 +0200

Hi Jens,

thanks for the answer.
If you drag an NSTextfield on your custom view in Interface Builder, doesn't it become a subview automatically?

On 11 Jun 2010, at 19:03, Jens Alfke wrote:

>
> On Jun 11, 2010, at 7:04 AM, Florian Soenens wrote:
>
>> When i put default buttons or a NSSearchfield or a NSProgressindicator on top of my custom view, the subitems display a background.
>
> By “on top of”, do you mean they’re subviews of your custom view, or siblings that are just positioned in the same place?
>
> If you make the controls subviews, they should draw correctly. Overlapping sibling views didn’t use to work correctly back in the day; I think they’re supposed to now, but you might be hitting an edge case. I think it’s generally better to make the controls subviews if they’re logically “inside” your view.
>
> —Jens



Looking for Web-to-Print Solutions?
Visit our website :   http://www.vit2print.com


This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information and/or information protected by intellectual property rights.
If you are not the intended recipient, please note that any review, dissemination, disclosure, alteration, printing, copying or transmission of this e-mail and/or any file transmitted with it, is strictly prohibited and may be unlawful.
If you have received this e-mail by mistake, please immediately notify the sender and permanently delete the original as well as any copy of any e-mail and any printout thereof.
We may monitor e-mail to and from our network.

NSS nv Tieltstraat 167 8740 Pittem Belgium
_______________________________________________

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

  • Follow-Ups:
    • Re: NSControl objects on a custom view
      • From: "email@hidden" <email@hidden>
References: 
 >NSControl objects on a custom view (From: Florian Soenens <email@hidden>)
 >Re: NSControl objects on a custom view (From: Jens Alfke <email@hidden>)

  • Prev by Date: Notification when network volume disappears
  • Next by Date: Re: NSControl objects on a custom view
  • Previous by thread: Re: NSControl objects on a custom view
  • Next by thread: Re: NSControl objects on a custom view
  • Index(es):
    • Date
    • Thread