• 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: Translucent black window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Translucent black window


  • Subject: Re: Translucent black window
  • From: Pascal Pochet <email@hidden>
  • Date: Wed, 18 Jan 2006 19:53:59 +0100


Le 17-janv.-06 à 21:39, Andreas Mayer a écrit :


Am 17.01.2006 um 21:17 Uhr schrieb Julien Silland:

Can you be more specific about what I need to change to the controls in order to have them drawn properly ?

I can't.

The only controls I modified are buttons and sliders. For buttons I used my AMRollOverButton class and for sliders I had to compensate for the system behaviour by carefully choosing the size and positions of the slider's elements. I can only assume that for more complex controls it will be even harder to get it right.



Indeed, there is a problem subclassing some Cocoa control classes,
e.g. I have filled a bug report regarding NSScroller because
the overwritten

+ (float)scrollerWidth

and

+ (float)scrollerWidthForControlSize:(NSControlSize)controlSize

are never called, looks like they have coded
	[NSScroller scrollerWidth]
instead of
	[[self class] scrollerWidth]

...

sometimes better start from scratch than subclassing…


Pascal Pochet email@hidden ---------------------------------- PGP KeyID: 0x208C5DBF Fingerprint: 9BFB 245C 5BFE 7F1D 64B7 C473 ABB3 4E83 208C 5DBF


_______________________________________________ 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
References: 
 >Translucent black window (From: Nik Youdale <email@hidden>)
 >Re: Translucent black window (From: Andreas Mayer <email@hidden>)
 >Re: Translucent black window (From: Andreas Mayer <email@hidden>)
 >Re: Translucent black window (From: Julien Silland <email@hidden>)
 >Re: Translucent black window (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: NumberFormatters and sci notation
  • Next by Date: Re: Bindings don't populate dialog fields?
  • Previous by thread: Re: Translucent black window
  • Next by thread: Re: Translucent black window
  • Index(es):
    • Date
    • Thread