• 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
Disappearing NSToolbarItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disappearing NSToolbarItem


  • Subject: Disappearing NSToolbarItem
  • From: King Chung Huang <email@hidden>
  • Date: Sun, 03 Nov 2002 16:44:50 -0700

Hi,

I'm just trying out the NSToolbar/NSToolbarItem classes for use in my app,
and I'm running into a strange problem. I'm using the sample code
"ToolbarSample" and the documentation for instructions. I've added an NSView
in my nib, and put some text into it. In my code for creating the
NSToolbarItem, I've made sure to set the min/max size to the view's bounds.
When I run my app, the NSToolbarItem appears as expected. However, if I
command-click on the toolbar widget, therefore causing it to cycle through
label/no-label, icon/text, big/small, etc., the text (in my NSView) no
longer draws in the toolbar. The area reserved for the icon is blank. If I
quit the app, and relaunch, it shows up again until I command-click the
toolbar widget. Does anyone know what am I doing wrong here?

Thx,

King Chung Huang
Learning Commons
University of Calgary
_______________________________________________
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: end of sheet and re-activationg window
  • Next by Date: [Cocoa-Java] Aquataxx source code
  • Previous by thread: Re: end of sheet and re-activationg window
  • Next by thread: Re: Disappearing NSToolbarItem
  • Index(es):
    • Date
    • Thread