• 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: NSButton w Image not redrawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSButton w Image not redrawing


  • Subject: Re: NSButton w Image not redrawing
  • From: G Douglas Davidson <email@hidden>
  • Date: Mon, 10 Nov 2003 13:52:40 -0500

On Nov 7, 2003, at 12:06 PM, G Douglas Davidson wrote:

On Nov 2, 2003, at 11:40 AM, G Douglas Davidson wrote:

Hello,

I have an application that makes use of a good number of 12/12 pixel buttons that I alter the content on via setImage. I do share a small group of images among the buttons. The app uses several NSTabViews, and some NSTabViews within NSTabViews. Bunch of stuff.

Since moving to 10.3 and XCode, it seems that these buttons are not being "redrawn" when I move from on tab to another. In fact, I can see some of the text showing through within the button from a prior tabbed page's text field.

Something seems to have changed re how these fields are updated. Can anyone give me a pointer?


I'm still struggling with this issue. It seems to be related to the button opaqueness. When first view, the button is not opaque. When I move to a different tabbed view and then back, it is opaque so some extent and I can see background stuff from the prior tabbed view.

Any help would be appreciated.

Well, I'll answer my own question. Simply deleting the button in Interface Builder and refining it took care of the problem. There may be some subtle difference in things that cropped up when moving between versions. At any rate, all seems to be fine now. Thought I would post the solution so that it is available in the archives in the event someone else has a similar problem.


--
G. Douglas Davidson | CityNet, Inc.
email@hidden | Pittsburgh, PA
voice: 412.481.5406 | fax: 412.431.1315
_______________________________________________
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.

References: 
 >NSButton w Image not redrawing (From: G Douglas Davidson <email@hidden>)
 >Re: NSButton w Image not redrawing (From: G Douglas Davidson <email@hidden>)

  • Prev by Date: Re: DataSource class of NSTableView - weird
  • Next by Date: Updating the main menu
  • Previous by thread: Re: NSButton w Image not redrawing
  • Next by thread: Contextual menu validateMenuItem
  • Index(es):
    • Date
    • Thread