• 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
[SOLVED] Transparent NSTextView makes hole in window ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SOLVED] Transparent NSTextView makes hole in window ?


  • Subject: [SOLVED] Transparent NSTextView makes hole in window ?
  • From: Yann Bizeul <email@hidden>
  • Date: Mon, 26 May 2003 17:53:04 +0200

Thanks to Alex Raftis, for the solution, found on the archive, I did not see it because NSTextView was not directly involved in the question.
So, If you have black holes, or transparent holes in NSTableView or NSTextView with transparent background, the solution is here :
http://cocoa.mamasam.com/MACOSXDEV/2002/02/1/24850.php

And it works.

Thanks to other people that helped me too !

Le vendredi, 23 mai 2003, ` 10:11 Europe/Paris, Yann Bizeul a icrit :

Hi !

Very weird thing with transparent NSTextView :

I use a subclass of NSTextView, programmatically linked with its NSScrollView, I had to do that to set transparency. The problem Is that I would like to show something else behind the NSTextView, but all I get is my Desktop !
I have in order :
My Window
An NSImageView with Bezeled frame
My NSTextView

But I can't see inside my NSImageView, I set the NSTextView to be smaller than it, but it makes a hole with my desktop inside...

I set both NSScrollView and NSTextView to not draw background, and clearColor background (just in case)
The window is configured to not have background too

Is there a bug or Am I missing something ?

I made a screenshot of the problem so that you can see :
http://www.tynsoe.org/transparency.jpg

Thanks
--
Yann Bizeul
TYNSOE.ORG - http://www.tynsoe.org/
Site technique consacri ` MacOS X
_______________________________________________
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.


--
Yann Bizeul
TYNSOE.ORG - http://www.tynsoe.org/
Site technique consacri ` MacOS X
_______________________________________________
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: 
 >Transparent NSTextView makes hole in window ? (From: Yann Bizeul <email@hidden>)

  • Prev by Date: NSPreferences, etc.
  • Next by Date: Re: Tooltip Question
  • Previous by thread: Re: Transparent NSTextView makes hole in window ?
  • Next by thread: Re: Transparent NSTextView makes hole in window ?
  • Index(es):
    • Date
    • Thread