• 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: Leopard problem: rotating buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard problem: rotating buttons


  • Subject: Re: Leopard problem: rotating buttons
  • From: Raffael Cavallaro <email@hidden>
  • Date: Sun, 4 Nov 2007 09:51:52 -0500


On Nov 4, 2007, at 7:55 AM, Bill Dudney wrote:

I went ahead and built a really simple app that has 2 buttons, one is layer backed (labeled beeper) the other is not (labeled rotate). When you hit rotate the beeper button rotates an additional 15 degrees from where it is, when you hit beeper it beeps.

The UI is ugly but its not mean to be an example of nice UI :)

http://bill.dudney.net/roller/objc/resource/LayerBackedControls.zip

Is the url to grab the project.


I don't know if anyone else is seeing this, but there's a bug in how the rotated button is drawn whenever its angle is some multiple of 90 degrees:

90: text normal, button is a very small circle, like a radio button, but clickable region is as wide as button should be
180: Button is normal width, but has no rounded ends - just two straight line top and bottom borders. Clickable region is as it should be.
270: text normal, button is a combination of the two above - orientation is off by 90 degrees (i.e., it's horizontal when it should be vertical, and its extent is only as wide as the button is tall. No rounded corners, just top and bottom borders.
360: normal


all other angles are correct, and this pattern repeats as you cycle.

regards

Ralph


Raffael Cavallaro, Ph.D. email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Leopard problem: rotating buttons
      • From: Daniel Griscom <email@hidden>
References: 
 >Leopard problem: rotating buttons (From: Daniel Griscom <email@hidden>)
 >Re: Leopard problem: rotating buttons (From: Daniel Griscom <email@hidden>)
 >Re: Leopard problem: rotating buttons (From: Bill Dudney <email@hidden>)

  • Prev by Date: Re: NSTextView refuses to scroll inside of an NSCollectionView
  • Next by Date: Re: NSTextView refuses to scroll inside of an NSCollectionView
  • Previous by thread: Re: Leopard problem: rotating buttons
  • Next by thread: Re: Leopard problem: rotating buttons
  • Index(es):
    • Date
    • Thread