• 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: NSTextField odd background colour behaviour
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField odd background colour behaviour


  • Subject: Re: NSTextField odd background colour behaviour
  • From: Ross Carter <email@hidden>
  • Date: Sat, 10 Dec 2011 10:48:10 -0500

Just to make sure: are you certain that the text field is not being edited (and therefore obscured by the field editor) when you set the bg color?


On Dec 10, 2011, at 3:50 AM, Peter Hudson wrote:

> Hi All
>
> I have an NSTextField in an app.   For some years  I have set the background colour with,  not unsurprisingly,  setBackgroundColor:
>
> Recently I noticed that when attempting to set the BG colour instead of the whole area of the text field changing colour,
> I get a thin line of colour changing at the very top of the field.
>
> I've deleted the original text field object in the nib and dropped in a new one.
> Strangely, I have several other text fields with which I can set the BG colour without any problem.
>
> Its just this one text field where I have the problem ……
>
> xcode 4 / 10.7.2
>
> Peter_______________________________________________
>
> 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

_______________________________________________

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: NSTextField odd background colour behaviour
      • From: Peter Hudson <email@hidden>
References: 
 >NSTextField odd background colour behaviour (From: Peter Hudson <email@hidden>)

  • Prev by Date: Re: How to initiate drag&drop for a filename outside of NSView mouseDown
  • Next by Date: Re: NSTextField odd background colour behaviour
  • Previous by thread: NSTextField odd background colour behaviour
  • Next by thread: Re: NSTextField odd background colour behaviour
  • Index(es):
    • Date
    • Thread