NSPanel shown as sheet comes up partially transparent
NSPanel shown as sheet comes up partially transparent
- Subject: NSPanel shown as sheet comes up partially transparent
- From: "Marc Wan" <email@hidden>
- Date: Wed, 25 Oct 2006 15:11:42 +0800
This is weird.
So, my application has a main window, and at a certain point, I want to
show an NSPanel as a sheet.
So, I fire up the sheet (loaded from a separate nib file) with
beginSheet:modalForWindow:modalDelegate:didEndSelector:contexInfo and then
use runModalForWindow: to run it as a modal dialog.
And my NSPanel comes up partially transparent -- looks like about 0.8 on
the alphaValue ???
Perhaps I accidentally set something in IB? I can't see any "trasparency"
settings for NSPanel in IB.
Perhaps the isOpaque or alphaValue on the NSPanel is screwed up. Printing
both values shows "YES" and "1.0" respectively, as expected.
So does anybody have any idea why my panel is showing up partially
transparent? And if the answer is "it's supposed to do that", is there any
way to stop it? I show a print panel right after my panel goes away, and
the latter is most certainly not partially transparent -- the contrast is
jarring.
??
thanks,
marc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden