Hi,
I am drawing controls into view to use as feedback during Drag & Drop
operation.
I've tried to draw manually a NSButton (with NSRoundedBezelStyle)
using [[button cell] drawWithFrame:frame inView:[NSView focusView]];
I obtain a button image with the correct background, but the button
text is at the bottom. When I add the button to the view it is
correctly displayed.
Am I doing something wrong, since this method seems to work for popup
buttons ?
Thanks,
Yvan
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com