• 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
NSTextField Rounded - Set background colour (iTunes style) ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField Rounded - Set background colour (iTunes style) ?


  • Subject: NSTextField Rounded - Set background colour (iTunes style) ?
  • From: Wai Liu <email@hidden>
  • Date: Wed, 09 Apr 2003 11:02:45 +0800

Hi,

Has anybody managed to create a rounded textfield, with an olive background similar to iTunes?

As posted before (but with no feedback) there is a bug when trying to set the background colour of a rounded textfield programatically, or with interface builder. The background colour is always white.

Any workarounds?
Thanks,
Simon

FYI - here is the earlier post

Two Rounded NSTextField bugs
FROM: Charles Bennett
DATE: 2003-01-05 20:41

Just FYI to the list.

First, when the rounded bezel attribute is set, the background changes
to white and refuses
to honor any background color selections.

Setting the background color in the program is also not honored.

Here is where it gets "better"

Start off with a square bezeled textfield with a background color and then
try to change it to a rounded bezel via the program.

[textField setBezelStyle:NSTextFieldRoundedBezel];

You get a square background with color in front of a rounded bezel.
Editing the field will cause it to jump back to the white background
but may not clean up the rounded bezel.

Very odd.

Off to bug reporter..

Chuck
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Modify highlight colour of row, ala iTunes or Safari
  • Next by Date: Re: HowTo: server
  • Previous by thread: Re: Modify highlight colour of row, ala iTunes or Safari
  • Next by thread: Interpolating NSBezierPath parameters
  • Index(es):
    • Date
    • Thread