Disappearing NSToolbarItem
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.