• 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
Re: View subview buttons are all transparent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View subview buttons are all transparent


  • Subject: Re: View subview buttons are all transparent
  • From: Stéphane Sudre <email@hidden>
  • Date: Mon, 13 Feb 2017 11:24:45 +0000
  • Thread-topic: View subview buttons are all transparent

On 12 févr. 2017, at 22:18, tridiak wrote:

> I have a oldish app which needs updating (iTunesConnect flagged it).
> Mac OS app. Original target OS was 10.8 & SDK 10.9.
> Updated it to build on XC 8 and I have a view hierarchy (see below) where all the buttons are transparent even though they are not flagged as such.
>
> NSBox
> 	NSView
> 		NSButton
> 		NSButton
> 		NSButton
> 		NSButton
> 		(11 more buttons)
>
> I have manually changed the transparency flag to and from transparent on a button and it is still transparent.
> Added a new button in, still transparent.
> The rest of the window is fine and everything else displays properly.
>
> NSBox is not transparent.
> The buttons are using cells still (don’t know if that makes a difference).
>
> An older, functioning version of the application (built 3yrs ago) runs without any transparency issues. So XC is doing something.
>
> Any ideas

From more probable to less probable:

- The hidden flag of the buttons is on
- The NSView superview hidden flag is on
- Subclass of NSButton or NSButtonCell that overwrites initWithCoder: or the drawing methods.
- Category of NSButton or NSButtonCell that overwrites the drawing methods.
- You are not looking at the correct xib file (e.g. you have both a localized version in Resources/xxx.lproj and a version in Resources
- CoreAnimation Later is enabled and the alpha of the buttons is set to 0
- Corrupted nib
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >View subview buttons are all transparent (From: tridiak <email@hidden>)

  • Prev by Date: View subview buttons are all transparent
  • Next by Date: Re: View subview buttons are all transparent
  • Previous by thread: View subview buttons are all transparent
  • Next by thread: Re: View subview buttons are all transparent
  • Index(es):
    • Date
    • Thread