Demarkation seen on NSScrollView,Why is it?
Demarkation seen on NSScrollView,Why is it?
- Subject: Demarkation seen on NSScrollView,Why is it?
- From: Manish Pattath <email@hidden>
- Date: Mon, 19 Apr 2004 07:57:57 +0100 (BST)
Hi All,
I have an NSMatrix inside an NSScrollView - this
displays images in a folder. A slider on my window
allows scaling of the images displayed in the
ScrollView.
When the number of images are more i display the
Scrollbars else don't display.
I have set "sizeToCells" on my Matrix so my Scrollbars
work really well. so far so fine.
but when i resize the images or when there is less
number of images displyed in the scrollview, i see a
slight demarkation on my scrollview because of
sizeToCells.
Any click after the demarkation, mouseDown does not
respond (obviously as i have my Matrix responding to
mouseDown and not the Scrollview).
I want to remove the demarkation from the Scrollview
so that where ever the moseDown occurs, there is
response.
I cannot remove sizeToCells as i will not get the
Scrollbar if i do so.
Also, i tried setting the background color of the
scrollview though the demarkation is removed, the
white portions [ below the NSMatrix of the images]
does not respond to mouseDown.
i have tried calling "display" or "setNeedsDisplay" it
is not of any help.
In the first place , why am i seeing the demarkation?
Is it a part of the scrollview that is displayed?
Am i doing something wrong?
Thanks.
________________________________________________________________________
Yahoo! India Matrimony: Find your partner online.
http://yahoo.shaadi.com/india-matrimony/
_______________________________________________
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.