Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSegmentedControl Display Bug?




On Jul 30, 2005, at 11:02 AM, Philip Dow wrote:

Hiya,

Just wondering if there is a bug in NSSegmentedControl. After upgrading to Tiger, I've been taking advantage of IB to visually construct a segmented control. In a standard window, the control displays just fine. However, using either NSTexturedBackgroundWindowMask or NSUnifiedTitleAndToolbarWindowMask causes the top frame of the control to disappear, as though it didn't all fit inside its cell.

I am subclassing the window in question to alter its style mask according to user preferences during init. I don't believe this should cause any display problems though.

This is an issue in both 10.4.1 and 10.4.2.

I tried this out in IB, and I only saw the effect you describe when the segmented control was at the very top of the contentview. What happens if you just move it down a few pixels?


-jcr


John C. Randolph <email@hidden> (408) 914-0013 Roaming Cocoa Engineer, Available for your projects at great Expense and Inconvenience.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSSegmentedControl Display Bug? (From: Philip Dow <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.