• 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
NSView -setBoundsRotation:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSView -setBoundsRotation:


  • Subject: NSView -setBoundsRotation:
  • From: John Stiles <email@hidden>
  • Date: Thu, 13 Dec 2007 15:51:15 -0800

I need a sideways NSStepper control for an app I'm working on.

In Tiger, [myStepper setBoundsRotation:90.0] works perfectly. But in Leopard, the stepper doesn't change appearance. When clicking on it, it behaves like a 90° rotated stepper (I get the proper events when clicking on the left side and the right side), but the arrows still point up-and-down.

I also experimented with -setFrameRotation: but this simply repositioned the stepper to a different place in Leopard, but it wasn't rotated.

As another experiment, following the experiences of another list member, I tried [myStepper setWantsLayer:YES], but this made the stepper invisible! Not much of an improvement there. :(

Does anyone know of any good fixes/kludges? I'll file a radar, too._______________________________________________

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: NSView -setBoundsRotation:
      • From: Martin Wierschin <email@hidden>
    • Re: NSView -setBoundsRotation:
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: NSBrowser with checkboxes?
  • Next by Date: Re: NSView -setBoundsRotation:
  • Previous by thread: Re: NSView subclass resizing
  • Next by thread: Re: NSView -setBoundsRotation:
  • Index(es):
    • Date
    • Thread