Re: Does no one know a solution to this problem?
Re: Does no one know a solution to this problem?
- Subject: Re: Does no one know a solution to this problem?
- From: "Louis C. Sacha" <email@hidden>
- Date: Sun, 29 Feb 2004 22:58:20 -0800
Hello...
Is there some reason that the normal NSScrollView behavior won't work for you?
When you change the frame size of the document view (the view
enclosed in the scrollView), the knobs of the scrollers in the
scrollView should automatically be updated for the new size,
increasing or decreasing to reflect the portion of the document view
that is visible. You shouldn't need to do any math of your own to get
it to work.
Or maybe I just don't understand what you are trying to do? When you
scale the images using your slider, what exactly are you doing to
create the "scaling" effect.
Louis
Hi All,
I have a NSMatrix of NSButtonCells housed in a
NSScrollView,where i support Vertical Scrollers.
Like in IPhoto, I support the scaling of Images using
NSSlider [View at smallest photosize like thumbnails
and view at the largest size like a Big Photo filling
the NSScrollView].
This is a very simple view without subclass or
anything of the classes that are used.
I have done some maths to show the Scroller Knob
increase and decrease in size.
Everything so far is fine.
But when i click the arrow buttons of the Scrollbar
OR use the Keyboard arrow keys to traverse the photos,
the Scrollbar Knob resizes which is irritating to the
eye and very noticeable.
How do i stop the Scrollbar from resizing its Knob
when the arrow buttons of the Scroller or Keyboard
Arrows are used?
I don't want the Scroller knob size to be calculated
by the NSScrollView.How do i stop it?
I have to support the traversing using the keyboard
arrows as well as the arrow buttons of the Scrollbar
need to be there in my UI.
Can anyone pls point me in the right direction. I am
shooting in the dark.
Searching the cocoa.mamasam.com has not been fruitful.
Thanks for any help.
Rgds
M.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.