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: Making a scrolling text field.



Michael,

I know how to sub-class NSScroller, but what functions would I use to set it? And dimensions on the oval?
"How would a car function if it were designed like a computer? Occasionally, executing a maneuver would cause your car to stop and fail and you would have to re-install the engine, and the airbag system would say, 'Are you sure?' before going off." - Katie Hafner



On Jan 25, 2008, at 7:57 AM, Michael Watson wrote:

Subclass NSScroller to perform your own scroller tray, button, and knob drawing. Wrap your NSTextView in an NSScrollView and set the scroll view's scroller to your custom subclass.

Honestly, I'm /really/ disappointed that Apple gave us the HUD panel but not any of their HUD interface elements to go with it. It just makes no sense. Please file an enhancement request!


-- m-s

On 24 Jan, 2008, at 18:51, Jeremy wrote:

Hey,

I am using a HUD panel and don't like the way the aqua scroll bars look in the way I would want it, so I didn't add them. Now I don't know how to make the text field scrollable with a blackish / grayish colored NON-aqua scrollbar? Something like in the movies widget. And without the white background. Sorry to be a bother! Any help would be appreciated!

Jeremy
"How would a car function if it were designed like a computer? Occasionally, executing a maneuver would cause your car to stop and fail and you would have to re-install the engine, and the airbag system would say, 'Are you sure?' before going off." - Katie Hafner



_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Making a scrolling text field. (From: Jeremy <email@hidden>)
 >Re: Making a scrolling text field. (From: Michael Watson <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.