NSView -setBoundsRotation:
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